Skip to content

Commit

Permalink
hotfix from #6740 (#6742)
Browse files Browse the repository at this point in the history
* hotfix from #6740

* cleanup permissions consistent with previous LTS
  • Loading branch information
rolfyone authored Jan 27, 2023
1 parent 8f1ef50 commit 664537c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docker/jdk16/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ 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 adduser --disabled-password --gecos "" --home /opt/teku teku && \
chown teku:teku /opt/teku
chown teku:teku /opt/teku && \
chmod 0755 /opt/teku

USER teku
WORKDIR /opt/teku
Expand Down
3 changes: 2 additions & 1 deletion docker/jdk17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ 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 adduser --disabled-password --gecos "" --home /opt/teku teku && \
chown teku:teku /opt/teku
chown teku:teku /opt/teku && \
chmod 0755 /opt/teku

USER teku
WORKDIR /opt/teku
Expand Down

0 comments on commit 664537c

Please sign in to comment.