Skip to content

Commit c26a871

Browse files
committed
build: add busybox for debugging
1 parent d85d645 commit c26a871

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,9 @@ COPY --chown=0:0 --chmod=004 --from=alpine:latest /etc/ssl/certs/ca-certificates
1111
ENV SSL_CERT_FILE=/ca-certificates.crt
1212
COPY --chown=0:0 --chmod=001 --from=build /tmp/build/commit-status-poster /commit-status-poster
1313
ENTRYPOINT ["/commit-status-poster"]
14+
USER 0:0
15+
COPY --chown=0:0 --chmod=755 --from=busybox:musl /bin/busybox /busybox
16+
ENV PATH=/
17+
RUN ["/busybox", "--install", "/"]
18+
USER 1000:1000
19+
ENTRYPOINT ["/sleep", "infinity"]

0 commit comments

Comments
 (0)