File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,11 @@ RUN mkdir -p ${HZ_HOME} \
4242 && apk del unzip \
4343 && rm -rf /tmp/* \
4444 && echo "Setting Pardot ID to 'docker'" \
45- && echo 'hazelcastDownloadId=docker' > "${HZ_HOME}/lib/hazelcast-download.properties"
45+ && echo 'hazelcastDownloadId=docker' > "${HZ_HOME}/lib/hazelcast-download.properties" \
46+ && echo "Granting read permission to ${HZ_HOME}" \
47+ && chmod -R +r ${HZ_HOME} \
48+ && echo "Grant execute permission to scripts in order to address the issue of permissions not being accurately propagated on Windows OS" \
49+ && chmod +x ${HZ_HOME}/bin/*
4650
4751COPY log4j2.properties log4j2-json.properties jmx_agent_config.yaml ${HZ_HOME}/config/
4852
@@ -92,12 +96,8 @@ RUN echo "Upgrading packages" \
9296 tar \
9397 tzdata-java \
9498 util-linux \
95- && echo "Granting read permission to ${HZ_HOME}" \
96- && chmod -R +r ${HZ_HOME} \
9799 && echo "Removing unnecessary packages and redundant files/folders" \
98- && microdnf -y clean all \
99- && echo "Grant execute permission to scripts in order to address the issue of permissions not being accurately propagated on Windows OS" \
100- && chmod +x ${HZ_HOME}/bin/*
100+ && microdnf -y clean all
101101
102102WORKDIR ${HZ_HOME}
103103
Original file line number Diff line number Diff line change @@ -42,7 +42,11 @@ RUN mkdir -p ${HZ_HOME} \
4242 && apk del unzip \
4343 && rm -rf /tmp/* \
4444 && echo "Setting Pardot ID to 'docker'" \
45- && echo 'hazelcastDownloadId=docker' > "${HZ_HOME}/lib/hazelcast-download.properties"
45+ && echo 'hazelcastDownloadId=docker' > "${HZ_HOME}/lib/hazelcast-download.properties" \
46+ && echo "Granting read permission to ${HZ_HOME}" \
47+ && chmod -R +r ${HZ_HOME} \
48+ && echo "Grant execute permission to scripts in order to address the issue of permissions not being accurately propagated on Windows OS" \
49+ && chmod +x ${HZ_HOME}/bin/*
4650
4751COPY log4j2.properties log4j2-json.properties jmx_agent_config.yaml ${HZ_HOME}/config/
4852
@@ -79,12 +83,8 @@ RUN echo "Upgrading packages" \
7983 bash \
8084 curl \
8185 openjdk${JDK_VERSION}-jre-headless \
82- && echo "Granting read permission to ${HZ_HOME}" \
83- && chmod -R +r ${HZ_HOME} \
8486 && echo "Removing unnecessary packages and redundant files/folders" \
85- && rm -rf /var/cache/apk/* \
86- && echo "Grant execute permission to scripts in order to address the issue of permissions not being accurately propagated on Windows OS" \
87- && chmod +x ${HZ_HOME}/bin/*
87+ && rm -rf /var/cache/apk/*
8888
8989WORKDIR ${HZ_HOME}
9090
You can’t perform that action at this time.
0 commit comments