Skip to content

Commit

Permalink
[skip ci] update dockerfile
Browse files Browse the repository at this point in the history
[skip ci] update dockerfile
  • Loading branch information
rathnapandi authored Apr 3, 2023
1 parent 1b9a89a commit 1a0d9ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM eclipse-temurin:8u362-b09-jre-alpine as base
FROM eclipse-temurin:8-jre-alpine as base
ENV APP_HOME=/opt/apim-cli
ENV APP_USER=axway
ARG APIM_CLI_ARCHIVE
Expand All @@ -7,7 +7,7 @@ COPY $APIM_CLI_ARCHIVE /
RUN apk add --no-cache tar
RUN addgroup $APP_USER && adduser --system $APP_USER --ingroup $APP_USER
RUN mkdir $APP_HOME && tar -xvzf $APIM_CLI_ARCHIVE -C $APP_HOME --strip-components 1 && rm /$APIM_CLI_ARCHIVE
FROM eclipse-temurin:8u332-b09-jre-alpine
FROM eclipse-temurin:8-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 1a0d9ae

Please sign in to comment.