Skip to content

Commit ef5b6ea

Browse files
heliocastrotsteenbe
authored andcommitted
docker: Remove scripts dir as user
Signed-off-by: Helio Chissini de Castro <[email protected]>
1 parent 157d6a6 commit ef5b6ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ COPY --from=ortbuild /opt/ort /opt/ort
365365
FROM ort-base-image as components
366366

367367
# Remove ort build scripts
368-
RUN rm -rf /etc/scripts
368+
RUN [ -d /etc/scripts ] && sudo rm -rf /etc/scripts
369369

370370
# Apt install commands.
371371
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \

0 commit comments

Comments
 (0)