Switch openjdk base image to maintained variant

The existing one has a deprecation notice, pointing at this as it's
successor.
This commit is contained in:
Simon Frei 2023-06-18 16:29:22 +02:00
parent a13c049180
commit 4ef201b0a8
No known key found for this signature in database
GPG Key ID: 7C31D23ECB1006F3
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM openjdk:11
FROM eclipse-temurin:11-jdk-jammy
ENV GO_VERSION 1.19.10
@ -7,8 +7,10 @@ ENV GO_VERSION 1.19.10
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 python3
# Install Go
RUN wget -q https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz && \
RUN wget -nv https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz && \
tar -zxf go${GO_VERSION}.linux-amd64.tar.gz && \
rm go${GO_VERSION}.linux-amd64.tar.gz
ENV GOROOT /opt/go