Browse Source

Remove dockerfile

(it's not used or even working and I'd do the docker builds differently if starting over)
Ask Bjørn Hansen 2 years ago
parent
commit
c3cde44e90
1 changed files with 0 additions and 30 deletions
  1. 0 30
      Dockerfile

+ 0 - 30
Dockerfile

@@ -1,30 +0,0 @@
-FROM golang:1.20.5-alpine as build
-
-RUN apk add --no-cache git tar
-
-WORKDIR /go/src/github.com/abh/geodns
-
-ENV CGO_ENABLED=0
-
-ADD applog/ applog/
-ADD countries/ countries/
-ADD health/ health/
-ADD monitor/ monitor/
-ADD querylog/ querylog/
-ADD server/ server/
-ADD targeting/ targeting/
-ADD typeutil/ typeutil/
-ADD zones/ zones/
-ADD service/ service/
-ADD .git/ .git/
-ADD *.go build ./
-
-RUN ./build
-RUN ls -l
-RUN ls -l dist
-
-RUN ln dist/* /
-
-FROM scratch
-COPY --from=build /geodns-linux-amd64 /geodns
-ENTRYPOINT ["/geodns"]