fix: remove Dockerfile

This commit is contained in:
Markus Pesch 2022-03-11 11:30:21 +01:00
parent ffa8f99d67
commit 17f4d13196
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982

View File

@ -1,27 +0,0 @@
ARG BASE_IMAGE
ARG BUILD_IMAGE
# BUILD
# ===========================================
FROM ${BUILD_IMAGE} AS build
ADD . /workspace
ARG EXECUTABLE
ARG GONOPROXY
ARG GONOSUMDB
ARG GOPRIVATE
ARG GOPROXY
ARG GOSUMDB
ARG VERSION
RUN make bin/linux/amd64/${EXECUTABLE}
# TARGET CONTAINER
# ===========================================
FROM ${BASE_IMAGE}
ARG EXECUTABLE
RUN apk add --update bind-tools
COPY --from=build /workspace/bin/linux/amd64/${EXECUTABLE} /usr/bin/${EXECUTABLE}
ENTRYPOINT [ "/usr/bin/dyndns-client" ]