mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-22 10:51:28 +00:00
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:
parent
a13c049180
commit
4ef201b0a8
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue