Skip to content

Commit

Permalink
remove passwd copy from dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
cguertin14 authored Jan 31, 2023
1 parent 8f0319a commit a5d7be9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,5 @@ RUN go build -o ./ddns .

# Step 2 - import necessary files to run program.
FROM gcr.io/distroless/base-debian11:nonroot

COPY --from=builder /etc/passwd /etc/passwd
COPY --from=builder /app/ddns /ddns

ENTRYPOINT ["/ddns"]

0 comments on commit a5d7be9

Please sign in to comment.