use eclipse-temurin instead of adoptopenjdk as base image for the docker image

* adoptopenjdk is not maintained anymore and superseded by eclipse-temurin
This commit is contained in:
Bernhard B
2021-09-28 19:32:32 +02:00
parent 444e7d7608
commit fdff7bac99

View File

@@ -140,7 +140,7 @@ RUN cd /tmp/signal-cli-rest-api-src/scripts && go build -o jsonrpc2-helper
# Start a fresh container for release container
FROM adoptopenjdk:11-jre-hotspot-bionic
FROM eclipse-temurin:11-jre-focal
ENV GIN_MODE=release
@@ -149,7 +149,7 @@ ENV PORT=8080
ARG SIGNAL_CLI_VERSION
RUN apt-get update \
&& apt-get install -y --no-install-recommends setpriv supervisor netcat \
&& apt-get install -y --no-install-recommends util-linux supervisor netcat \
&& rm -rf /var/lib/apt/lists/*
COPY --from=buildcontainer /tmp/signal-cli-rest-api-src/signal-cli-rest-api /usr/bin/signal-cli-rest-api