From 664537cdc232ae28ac61c52d7fd6d6c99f5c55d0 Mon Sep 17 00:00:00 2001 From: Paul Harris Date: Fri, 27 Jan 2023 18:31:21 +0100 Subject: [PATCH] hotfix from #6740 (#6742) * hotfix from #6740 * cleanup permissions consistent with previous LTS --- docker/jdk16/Dockerfile | 3 ++- docker/jdk17/Dockerfile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docker/jdk16/Dockerfile b/docker/jdk16/Dockerfile index fab7ebf97b8..85e045a1b64 100644 --- a/docker/jdk16/Dockerfile +++ b/docker/jdk16/Dockerfile @@ -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 diff --git a/docker/jdk17/Dockerfile b/docker/jdk17/Dockerfile index 1e140161597..ea92c87c6f1 100644 --- a/docker/jdk17/Dockerfile +++ b/docker/jdk17/Dockerfile @@ -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