Skip to content

Commit

Permalink
Check if arm64 builds can be fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickdappollonio committed Sep 9, 2024
1 parent bd9c73d commit 720efcc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM busybox
RUN echo "nobody:x:65534:65534:Nobody:/:" > /etc/nobody
FROM busybox as builder
RUN adduser -D -H -u 65534 -G nogroup nobody

FROM scratch
WORKDIR /html
COPY --from=builder /etc/passwd /etc/passwd
USER nobody
COPY http-server /http-server
COPY --from=0 /etc/nobody /etc/passwd
EXPOSE 5000
ENTRYPOINT ["/http-server"]

0 comments on commit 720efcc

Please sign in to comment.