From 7cb64fa76f31ecc370c8e62ce36322fd3f3f4d1f Mon Sep 17 00:00:00 2001 From: Sebastiaan de Schaetzen Date: Tue, 18 Feb 2025 14:40:01 +0100 Subject: [PATCH] Add go --- Dockerfile | 41 ++++++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/Dockerfile b/Dockerfile index e60482c..4a48e40 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,33 +7,32 @@ ARG IMAGE_VERSION ARG IMAGE_REVISION LABEL org.opencontainers.image.created="${IMAGE_CREATED}" \ - org.opencontainers.image.authors="Seeseemelk" \ - org.opencontainers.image.url="https://gitea.seeseepuff.be/seeseemelk/runner-images" \ - org.opencontainers.image.documentation="https://gitea.seeseepuff.be/seeseemelk/runner-images/src/branch/main/README.md" \ - org.opencontainers.image.source="https://gitea.seeseepuff.be/seeseemelk/runner-images" \ - org.opencontainers.image.version="${IMAGE_VERSION}" \ - org.opencontainers.image.revision="${IMAGE_REVISION}" \ - org.opencontainers.image.vendor="Seeseemelk" \ - org.opencontainers.image.licenses="MIT" \ - org.opencontainers.image.title="Gitea Actions runner images customised by Seeseemelk" \ - org.opencontainers.image.description="Docker images used by act_runner to run workflows." - -RUN apt-get update && \ - apt-get -y install gnupg2 openjdk-21-jre-headless + org.opencontainers.image.authors="Seeseemelk" \ + org.opencontainers.image.url="https://gitea.seeseepuff.be/seeseemelk/runner-images" \ + org.opencontainers.image.documentation="https://gitea.seeseepuff.be/seeseemelk/runner-images/src/branch/main/README.md" \ + org.opencontainers.image.source="https://gitea.seeseepuff.be/seeseemelk/runner-images" \ + org.opencontainers.image.version="${IMAGE_VERSION}" \ + org.opencontainers.image.revision="${IMAGE_REVISION}" \ + org.opencontainers.image.vendor="Seeseemelk" \ + org.opencontainers.image.licenses="MIT" \ + org.opencontainers.image.title="Gitea Actions runner images customised by Seeseemelk" \ + org.opencontainers.image.description="Docker images used by act_runner to run workflows." RUN wget -O sonar.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-6.2.1.4610.zip && \ unzip sonar.zip && \ mkdir /sonar && \ mv sonar-scanner-*/* /sonar && \ rm -r sonar-scanner-* sonar.zip +ENV PATH="$PATH:/sonar/bin" -RUN pip3 install makelove - -RUN apt-get -y install luarocks && \ +RUN apt-get update && \ + apt-get -y install \ + gnupg2 openjdk-21-jre-headless \ + luarocks \ + cmake \ + libsdl2-dev libsdl2-gfx-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-net-dev libsdl2-ttf-dev \ + golang-1.23 && \ + pip3 install makelove && \ luarocks install tl -RUN apt-get -y install \ - cmake \ - libsdl2-dev libsdl2-gfx-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-net-dev libsdl2-ttf-dev - -ENV PATH="$PATH:/sonar/bin" +ENV PATH="/usr/lib/go-1.23/bin/:$PATH"