Skip to content

Commit 187f6f3

Browse files
committed
chmod +x for .sh files
1 parent 96bcbda commit 187f6f3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile.ubuntu-2404

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ COPY entrypoint.sh /app/entrypoint.sh
138138
COPY entrypoint-user.sh /app/entrypoint-user.sh
139139
COPY entrypoint-healthcheck.sh /app/entrypoint-healthcheck.sh
140140

141+
## Ensure entrypoint scripts have execute permissions
142+
RUN chmod +x /app/entrypoint.sh /app/entrypoint-user.sh /app/entrypoint-healthcheck.sh
143+
141144
RUN date > /build-time.txt
142145

143146
ENTRYPOINT ["/bin/bash", "./entrypoint.sh"]

0 commit comments

Comments
 (0)