You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
270 B

FROM golang AS build
WORKDIR /opt/build
COPY . /opt/build
RUN go get -v && go build -v -o gopherhole ./main.go
FROM ubuntu
COPY --from=build /opt/build/gopherhole /opt/gopherhole/gopherhole
WORKDIR /opt/gopherhole
EXPOSE 53
ENTRYPOINT /opt/gopherhole/gopherhole