mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 23:57:33 +00:00
Docker: Update alpine base for newer environment
This commit is contained in:
parent
ef91367f38
commit
9bb414e017
@ -1,6 +1,6 @@
|
|||||||
FROM alpine:3.15
|
FROM alpine:3.16
|
||||||
|
|
||||||
RUN apk add \
|
RUN apk add --no-cache \
|
||||||
bash \
|
bash \
|
||||||
cargo \
|
cargo \
|
||||||
ctags \
|
ctags \
|
||||||
@ -15,18 +15,15 @@ RUN apk add \
|
|||||||
;
|
;
|
||||||
|
|
||||||
# Install neovim from edge repo for latest
|
# Install neovim from edge repo for latest
|
||||||
RUN apk add neovim --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community
|
RUN apk add --no-cache neovim py3-pynvim --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community
|
||||||
|
|
||||||
# Try to install shellcheck
|
# Install shellcheck from edge repo because aarch64 build does not exist on main
|
||||||
RUN test "$(uname -m)" = "x86_64" && apk add shellcheck || true
|
RUN apk add --no-cache shellcheck --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community || true
|
||||||
# Try to install rustup
|
# Try to install rustup
|
||||||
RUN apk add rustup || true
|
RUN apk add --no-cache rustup || true
|
||||||
|
|
||||||
# Install dependencies for python-language-server
|
# Install dependencies for python-language-server
|
||||||
RUN apk add gcc g++ python3-dev
|
RUN apk add --no-cache gcc g++ python3-dev
|
||||||
|
|
||||||
# Install neovim python client
|
|
||||||
RUN pip3 install pynvim
|
|
||||||
|
|
||||||
# Create user
|
# Create user
|
||||||
RUN adduser -D -h /home/vividboarder -s /bin/bash --ingroup users vividboarder
|
RUN adduser -D -h /home/vividboarder -s /bin/bash --ingroup users vividboarder
|
||||||
@ -68,4 +65,4 @@ RUN mkdir /home/vividboarder/data
|
|||||||
WORKDIR /home/vividboarder/data
|
WORKDIR /home/vividboarder/data
|
||||||
|
|
||||||
COPY ./docker/docker-entry.sh /docker-entry.sh
|
COPY ./docker/docker-entry.sh /docker-entry.sh
|
||||||
ENTRYPOINT /docker-entry.sh
|
ENTRYPOINT ["/docker-entry.sh"]
|
||||||
|
Loading…
Reference in New Issue
Block a user