Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install golang-1.22 on arm64 #82

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tier2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ RUN apt-get update && \
apt-get install -y --no-install-recommends \
jq apt-transport-https dirmngr gnupg ca-certificates xz-utils \
$([ "$(arch)" = x86_64 ] && echo libc6-dev-i386) \
openjdk-22-jdk-headless clang llvm ghc golang racket ruby scala nasm chicken-bin && \
openjdk-22-jdk-headless clang llvm ghc golang"$([ "$(arch)" = aarch64 ] && echo -1.22)" racket ruby scala nasm chicken-bin && \
if [ "$(arch)" = aarch64 ]; then update-alternatives --install /usr/bin/go go /usr/lib/go-1.22/bin/go 50 \
--slave /usr/bin/gofmt gofmt /usr/lib/go-1.22/bin/gofmt; fi && \
( export OPAMYES=1 OPAMJOBS=$(($(nproc) + 2)); \
apt-get install -y --no-install-recommends make m4 patch unzip libgmp-dev pkg-config && \
bash -c 'echo | sh <(curl -sL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh) --no-backup' && \
Expand Down
Loading