mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 19:17:35 +00:00
User newer alpine and clean Dockerfile
No longer need python-language-server dependencies or edge neovim
This commit is contained in:
parent
d4c573263c
commit
5b3f3f51b4
@ -1,4 +1,4 @@
|
|||||||
FROM alpine:3.16
|
FROM alpine:3.18
|
||||||
|
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
bash \
|
bash \
|
||||||
@ -9,22 +9,18 @@ RUN apk add --no-cache \
|
|||||||
go \
|
go \
|
||||||
luarocks \
|
luarocks \
|
||||||
make \
|
make \
|
||||||
|
neovim \
|
||||||
npm \
|
npm \
|
||||||
py3-pip \
|
py3-pip \
|
||||||
|
py3-pynvim \
|
||||||
python3 \
|
python3 \
|
||||||
;
|
;
|
||||||
|
|
||||||
# Install neovim from edge repo for latest
|
|
||||||
RUN apk add --no-cache neovim py3-pynvim --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community
|
|
||||||
|
|
||||||
# Install shellcheck from edge repo because aarch64 build does not exist on main
|
# Install shellcheck from edge repo because aarch64 build does not exist on main
|
||||||
RUN apk add --no-cache shellcheck --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community || 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 --no-cache rustup || true
|
RUN apk add --no-cache rustup || true
|
||||||
|
|
||||||
# Install dependencies for python-language-server
|
|
||||||
RUN apk add --no-cache gcc g++ python3-dev
|
|
||||||
|
|
||||||
# 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
|
||||||
USER vividboarder
|
USER vividboarder
|
||||||
|
Loading…
Reference in New Issue
Block a user