Compare commits
No commits in common. "c4ff3a7018ee2c41aa6d0b1e190387286ccfd7a4" and "ffa8f99d67773b7090e869927c126574aad1cb2a" have entirely different histories.
c4ff3a7018
...
ffa8f99d67
@ -195,4 +195,4 @@ trigger:
|
||||
event:
|
||||
- push
|
||||
repo:
|
||||
- volker.raschek/dyndns-client
|
||||
- volker-raschek/dyndns-client
|
27
Dockerfile
Normal file
27
Dockerfile
Normal file
@ -0,0 +1,27 @@
|
||||
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" ]
|
Loading…
x
Reference in New Issue
Block a user