pre-install golang

This commit is contained in:
Brent Schroeter 2026-03-17 14:44:43 -07:00
parent 1f782ea45f
commit 00b82a3dce

View file

@ -12,7 +12,7 @@ RUN yes | unminimize
RUN apt-get install -y gpg sudo wget curl build-essential software-properties-common libssl-dev pkg-config libglew-dev git fish RUN apt-get install -y gpg sudo wget curl build-essential software-properties-common libssl-dev pkg-config libglew-dev git fish
# Install handy developer tools. # Install handy developer tools.
RUN apt-get install -y iputils-ping postgresql-client git-delta jq sqlite3 vim pipx ripgrep openssh-server RUN apt-get install -y iputils-ping postgresql-client git-delta golang jq sqlite3 vim pipx ripgrep openssh-server
# Install mise-en-place for project (and in some cases global) tooling management. # Install mise-en-place for project (and in some cases global) tooling management.
RUN install -dm 755 /etc/apt/keyrings RUN install -dm 755 /etc/apt/keyrings
@ -45,6 +45,10 @@ RUN mise x -- cargo binstall -y cargo-nextest sqlx-cli
RUN curl -fsSL https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/bootstrap.sh | bash RUN curl -fsSL https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/bootstrap.sh | bash
RUN fish -c 'fish_add_path /home/$USERNAME/.local/bin' RUN fish -c 'fish_add_path /home/$USERNAME/.local/bin'
# Finish Go setup.
RUN fish -c 'fish_add_path /home/$USERNAME/go/bin'
RUN go install golang.org/x/tools/gopls@latest
# Copy Helix configurations. # Copy Helix configurations.
# It seems there's a bug in `apple/container`'s COPY implementation that fails # It seems there's a bug in `apple/container`'s COPY implementation that fails
# to recursively copy directory contents from the host, so we point it to each # to recursively copy directory contents from the host, so we point it to each