aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorpml68 <contact@pml68.me>2024-12-01 00:12:48 +0100
committerpml68 <contact@pml68.me>2024-12-01 00:12:48 +0100
commit48a3bac987ba12b570508e563ac842a39b46c0af (patch)
tree1f8e709e81e8db28a2ee26fe67a468d31ff44012 /Dockerfile
parentfix: gopher not installing deps on first launch (diff)
downloadnvim-48a3bac987ba12b570508e563ac842a39b46c0af.tar.gz
feat: add go pkg to dockerfile
Diffstat (limited to '')
-rw-r--r--Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 03abe27..77ec58d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -24,6 +24,7 @@ RUN apk add --no-cache wget \
openjdk21 \
openjdk17 \
gradle \
+ go \
dotnet8-sdk \
clang19-extra-tools \
nodejs \
@@ -51,9 +52,9 @@ COPY . .config/nvim
FROM base
SHELL ["/bin/bash", "-c"]
WORKDIR /root
-RUN nvim --headless +"Lazy! sync" +qa; exit 0
+RUN nvim --headless +"Lazy! sync" +qa; rm -rf /root/.cache
# symlink the clangd executable, since it can't be installed with mason
RUN ln -sf /usr/bin/clangd /root/.local/share/nvim/mason/bin/clangd
-CMD ["/bin/bash"]
+ENTRYPOINT ["/bin/bash"]