Add build-time args

This commit is contained in:
timmypidashev
2023-11-12 00:00:43 -08:00
parent 219d891c23
commit 6799028dff
4 changed files with 39 additions and 12 deletions

View File

@@ -1,3 +1,11 @@
# Imported args
ARG BUILD_DATE
ARG GIT_COMMIT
ARG DNS_VERSION
# Print the values of the build arguments
RUN echo "DNS_VERSION=$DNS_VERSION"
# CoreDNS base image
ARG ALPINE_VERSION=3.18
ARG GO_VERSION=1.21.3