Skip to content

Commit 5aa1920

Browse files
committed
Add sdkman-wrapper.sh read rights in Dockerfiles.
1 parent ef51825 commit 5aa1920

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docker/spring-cloud-contract-docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN useradd -u1000 -m scc
1414

1515
# Install sdkman and java
1616
COPY sdkman/ /usr/local/bin/
17-
RUN chmod +x /usr/local/bin/sdkman-wrapper.sh
17+
RUN chmod +r+x /usr/local/bin/sdkman-wrapper.sh
1818

1919
# provide output & contract directories and change owner to scc
2020
RUN mkdir -p /contracts

docker/spring-cloud-contract-stub-runner-docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN useradd -u1000 -m scc
1515

1616
# Install sdkman and java
1717
COPY sdkman/ /usr/local/bin/
18-
RUN chmod +x /usr/local/bin/sdkman-wrapper.sh
18+
RUN chmod +r+x /usr/local/bin/sdkman-wrapper.sh
1919

2020
USER scc
2121
WORKDIR /home/scc

0 commit comments

Comments
 (0)