Skip to content

Commit a8c0641

Browse files
authored
update permission of script (#3)
Signed-off-by: Stephanie <[email protected]> Signed-off-by: Stephanie <[email protected]>
1 parent d72d66a commit a8c0641

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,5 @@ nb-configuration.xml
3737

3838
# Local environment
3939
.env
40+
41+
.odo/env

src/main/docker/Dockerfile.jvm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ RUN microdnf install curl ca-certificates ${JAVA_PACKAGE} \
3737
&& chown 1001:root /deployments \
3838
&& curl https://repo1.maven.org/maven2/io/fabric8/run-java-sh/${RUN_JAVA_VERSION}/run-java-sh-${RUN_JAVA_VERSION}-sh.sh -o /deployments/run-java.sh \
3939
&& chown 1001 /deployments/run-java.sh \
40-
&& chmod 540 /deployments/run-java.sh \
40+
&& chmod 555 /deployments/run-java.sh \
4141
&& echo "securerandom.source=file:/dev/urandom" >> /etc/alternatives/jre/lib/security/java.security
4242

4343
# Configure the JAVA_OPTIONS, you can add -XshowSettings:vm to also display the heap size.

src/main/docker/Dockerfile.jvm.staged

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ RUN microdnf install curl ca-certificates ${JAVA_PACKAGE} \
4747
&& chown 1001:root /deployments \
4848
&& curl https://repo1.maven.org/maven2/io/fabric8/run-java-sh/${RUN_JAVA_VERSION}/run-java-sh-${RUN_JAVA_VERSION}-sh.sh -o /deployments/run-java.sh \
4949
&& chown 1001 /deployments/run-java.sh \
50-
&& chmod 540 /deployments/run-java.sh \
50+
&& chmod 555 /deployments/run-java.sh \
5151
&& echo "securerandom.source=file:/dev/urandom" >> /etc/alternatives/jre/lib/security/java.security
5252

5353
# Configure the JAVA_OPTIONS, you can add -XshowSettings:vm to also display the heap size.

0 commit comments

Comments
 (0)