Skip to content

Commit

Permalink
Fix container image build to use binaries only. (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
damomurf authored Jul 9, 2024
1 parent aadb7b4 commit f919335
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@ RUN cd plugin && \
make check && \
go build

# FROM alpine:3.19.1
# RUN apk add --no-cache ca-certificates
FROM alpine:3.19.1
RUN apk add --no-cache ca-certificates

# COPY --from=build /go/src/coredns/coredns /
# COPY Corefile run.sh /

# ENTRYPOINT ["/run.sh"]
COPY --from=build /go/src/coredns/coredns /
COPY Corefile run.sh /

ENTRYPOINT ["/run.sh"]

0 comments on commit f919335

Please sign in to comment.