Skip to content

Commit

Permalink
- [skip ci] update jre version to 17 in docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
rathnapandi committed Oct 25, 2024
1 parent 42e9bfb commit 4806445
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ ENV APP_USER=axway
ARG APIM_CLI_ARCHIVE
ENV APIM_CLI_ARCHIVE=${APIM_CLI_ARCHIVE:-axway-apimcli-1.12.1.tar.gz}
COPY $APIM_CLI_ARCHIVE /
RUN "apk add --no-cache tar" \
&& "addgroup $APP_USER" \
&& "adduser --system $APP_USER --ingroup $APP_USER" \
&& "mkdir $APP_HOME" \
&& "tar -xvzf $APIM_CLI_ARCHIVE -C $APP_HOME --strip-components 1" \
&& "rm /$APIM_CLI_ARCHIVE"
FROM eclipse-temurin:11-jre-alpine
RUN apk add --no-cache tar \
&& addgroup $APP_USER \
&& adduser --system $APP_USER --ingroup $APP_USER \
&& mkdir $APP_HOME \
&& tar -xvzf $APIM_CLI_ARCHIVE -C $APP_HOME --strip-components 1 \
&& rm /$APIM_CLI_ARCHIVE
FROM eclipse-temurin:17-jre-alpine
USER $APP_USER
ENV AXWAY_APIM_CLI_HOME $APP_HOME
COPY --from=base $APP_HOME $APP_HOME
Expand Down

0 comments on commit 4806445

Please sign in to comment.