Skip to content

Commit

Permalink
Force installing libc deps on docker image (Consensys#7591)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucassaldanha authored Oct 13, 2023
1 parent 2842a85 commit 3e48739
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docker/jdk17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +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 && apt-get -y upgrade && apt-get -y install curl
RUN rm -rf /var/lib/api/lists/*
RUN apt-get -y update && apt-get -y upgrade && apt-get -y install curl libc-bin libc6 && rm -rf /var/lib/api/lists/*
RUN adduser --disabled-password --gecos "" --home /opt/teku teku && \
chown teku:teku /opt/teku && \
chmod 0755 /opt/teku
Expand Down

0 comments on commit 3e48739

Please sign in to comment.