Skip to content

Commit 03939cc

Browse files
committed
set +x on shell scripts reliably (Docker COPY does not always keep x-privs)
1 parent bc06836 commit 03939cc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ RUN apt-get update && \
1616
RUN mkdir -p /src/satosa
1717
COPY . /src/satosa
1818
COPY docker/setup.sh /setup.sh
19-
RUN /setup.sh
20-
2119
COPY docker/start.sh /start.sh
20+
RUN chmod +x /setup.sh /start.sh \
21+
&& /setup.sh
22+
2223
COPY docker/attributemaps /opt/satosa/attributemaps
2324

2425
VOLUME /opt/satosa/etc

0 commit comments

Comments
 (0)