Skip to content

Commit a7fa674

Browse files
authored
[Feature] Add CA Certificates during build (#1956)
1 parent 9cf8e2d commit a7fa674

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ FROM ${IMAGE} AS base
99

1010
ARG BUILD_SKIP_UPDATE=false
1111
ENV BUILD_SKIP_UPDATE=${BUILD_SKIP_UPDATE}
12-
RUN apt-get update && apt-get upgrade -y && (if [ X"${BUILD_SKIP_UPDATE}" = X"true" ]; then echo "Update skipped!"; else apt-get install -y ca-certificates; fi) && apt-get clean
12+
RUN apt-get update && apt-get install -y ca-certificates && (if [ X"${BUILD_SKIP_UPDATE}" = X"true" ]; then echo "Update skipped!"; else apt-get upgrade -y; fi) && apt-get clean
1313

1414
FROM base
1515

0 commit comments

Comments
 (0)