Skip to content

Commit

Permalink
feat: Use alpine image
Browse files Browse the repository at this point in the history
  • Loading branch information
0SkillAllLuck committed Sep 10, 2022
1 parent a71e1b7 commit 8fc3e17
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build/package/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
FROM alpine as passwd

FROM scratch
ARG ARCH=
FROM ${ARCH}alpine

EXPOSE 80
EXPOSE 25565

COPY ingress-controller ingress-controller
COPY --from=passwd /etc/passwd /etc/passwd
USER nobody

ENTRYPOINT [ "./ingress-controller" ]

0 comments on commit 8fc3e17

Please sign in to comment.