Skip to content

Commit f448671

Browse files
committed
Add missing 'set -xe' to RUN commands
1 parent 28a19f0 commit f448671

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/dotnet-core/Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ RUN set -xe \
2323
&& adduser -u 1001 -G custom-group -D -H custom-user
2424
COPY ./src/shared/entrypoint.sh /entrypoint.sh
2525
COPY --from=builder /contrast /contrast
26-
RUN mkdir -p /contrast/runtimes/linux/native \
27-
&& cp /contrast/runtimes/linux-x64/native/ContrastChainLoader.so /contrast/runtimes/linux/native
26+
RUN set -xe \
27+
&& mkdir -p /contrast/runtimes/linux/native \
28+
&& cp /contrast/runtimes/linux-x64/native/ContrastChainLoader.so /contrast/runtimes/linux/native
2829
ARG VERSION=4.2.8
2930
ENV CONTRAST_MOUNT_PATH=/contrast-init \
3031
CONTRAST_VERSION=${VERSION} \
@@ -38,8 +39,9 @@ RUN set -xe \
3839
&& adduser -u 1001 -G custom-group -D -H custom-user
3940
COPY ./src/shared/entrypoint.sh /entrypoint.sh
4041
COPY --from=builder /contrast /contrast
41-
RUN mkdir -p /contrast/runtimes/linux/native \
42-
&& cp /contrast/runtimes/linux-arm64/native/ContrastChainLoader.so /contrast/runtimes/linux/native
42+
RUN set -xe \
43+
&& mkdir -p /contrast/runtimes/linux/native \
44+
&& cp /contrast/runtimes/linux-arm64/native/ContrastChainLoader.so /contrast/runtimes/linux/native
4345
ARG VERSION=4.2.8
4446
ENV CONTRAST_MOUNT_PATH=/contrast-init \
4547
CONTRAST_VERSION=${VERSION} \

0 commit comments

Comments
 (0)