Skip to content

Commit

Permalink
chore: update Dockerfile (#223)
Browse files Browse the repository at this point in the history
* chore: update Dockerfile

* tidy
  • Loading branch information
Lyrics authored Dec 19, 2023
1 parent 73cf4ae commit f558d78
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM golang:alpine AS builder
RUN mkdir /godns
ADD . /godns/
WORKDIR /godns
ADD . .
RUN CGO_ENABLED=0 go build -o godns cmd/godns/godns.go

FROM gcr.io/distroless/base
Expand Down

0 comments on commit f558d78

Please sign in to comment.