From 0bd06c7c02e1df4c2e4ad0f86512272f173b4954 Mon Sep 17 00:00:00 2001 From: Simon Frei Date: Sun, 18 Jun 2023 10:02:18 +0200 Subject: [PATCH] Bump go to 1.20.6 --- docker/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 31ec19e0..c8fd2cda 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,13 +1,16 @@ FROM eclipse-temurin:11-jdk-jammy -ENV GO_VERSION 1.19.10 +ENV GO_VERSION 1.20.6 # Can be found scrolling down on this page: # https://developer.android.com/studio/index.html#command-tools ARG ANDROID_SDK_FILENAME=commandlinetools-linux-9123335_latest.zip WORKDIR /opt -RUN apt-get update && apt-get install --no-install-recommends -y gcc unzip git gnupg python3 +# The '--reinstall' combined with 'build-essentials' is necessary for cgo +# compilation of go std libs to work. A terrible, arcane hack to solve arkane +# cgo issues - almost fitting. +RUN apt-get update && apt-get install --reinstall --no-install-recommends -y build-essential gcc unzip git gnupg python3 # Install Go RUN wget -nv https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz && \