We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db1695b commit f0f6111Copy full SHA for f0f6111
1 file changed
Dockerfile
@@ -51,6 +51,9 @@ RUN for binary in "/bin/ping" "/bin/ping6" "/usr/bin/git" /app/bin/* /usr/libexe
51
52
RUN git config --system http.sslCAInfo /etc/ssl/certs/ca-certificates.crt
53
54
+# Create tmp directory with proper permissions
55
+RUN rm -rf /tmp && mkdir -p /tmp && chmod 1777 /tmp
56
+
57
# Build a minimal docker image
58
FROM scratch
59
WORKDIR /
@@ -72,6 +75,9 @@ ENV GIT_SSL_CAINFO=/etc/ssl/certs/ca-certificates.crt
72
75
# This is required for Timezone support
73
76
COPY --from=build /usr/share/zoneinfo/ /usr/share/zoneinfo/
74
77
78
+# Copy tmp directory
79
+COPY --from=build /tmp /tmp
80
81
# this is required to ping things
82
COPY --from=build /bin/ping /ping
83
COPY --from=build /bin/ping6 /ping6
0 commit comments