From 48a3bac987ba12b570508e563ac842a39b46c0af Mon Sep 17 00:00:00 2001 From: pml68 Date: Sun, 1 Dec 2024 00:12:48 +0100 Subject: feat: add go pkg to dockerfile --- .bashrc | 1 + Dockerfile | 5 +++-- 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"] -- cgit v1.2.3