Skip to content

Commit

Permalink
Adding ip and net utils in docker image (#535)
Browse files Browse the repository at this point in the history
-- these utilities can be used in k8 or docker-compose environment to wait for other dependent services
  • Loading branch information
usmansaleem committed Mar 25, 2022
1 parent f5ed18d commit 17d253b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions docker/jdk11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ ENV JAVA_HOME=/opt/java/openjdk
ENV PATH "${JAVA_HOME}/bin:${PATH}"
COPY --from=jre-build /javaruntime $JAVA_HOME

RUN apt-get -y update
RUN apt-get -y install curl
RUN rm -rf /var/lib/api/lists/*
RUN apt-get -y update && apt-get -y install curl iputils-ping net-tools && rm -rf /var/lib/api/lists/*
RUN adduser --disabled-password --gecos "" --home /opt/web3signer web3signer && \
chown web3signer:web3signer /opt/web3signer

Expand Down
4 changes: 1 addition & 3 deletions docker/jdk17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ ENV JAVA_HOME=/opt/java/openjdk
ENV PATH "${JAVA_HOME}/bin:${PATH}"
COPY --from=jre-build /javaruntime $JAVA_HOME

RUN apt-get -y update
RUN apt-get -y install curl
RUN rm -rf /var/lib/api/lists/*
RUN apt-get -y update && apt-get -y install curl iputils-ping net-tools && rm -rf /var/lib/api/lists/*
RUN adduser --disabled-password --gecos "" --home /opt/web3signer web3signer && \
chown web3signer:web3signer /opt/web3signer

Expand Down

0 comments on commit 17d253b

Please sign in to comment.