aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bashrc1
-rw-r--r--Dockerfile5
2 files changed, 4 insertions, 2 deletions
diff --git a/.bashrc b/.bashrc
index 6a9066e..2246234 100644
--- a/.bashrc
+++ b/.bashrc
@@ -5,6 +5,7 @@
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
+export PATH=$PATH:/root/.cargo/bin:/root/go/bin
export CPPFLAGS="-Wall -Weffc++ -Wextra -Werror -Wconversion -Wsign-conversion -pedantic-errors -std=gnu++2b -fmodules-ts"
export EDITOR=nvim
export HISTSIZE=1000
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"]