Skip to content

Commit 96a78d4

Browse files
committed
adding defaults to args for simple local docker build (kubernetes-sigs#242)
1 parent 375b22c commit 96a78d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Dockerfile has specific requirement to put this ARG at the beginning:
22
# https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact
3-
ARG BUILDER_IMAGE
4-
ARG BASE_IMAGE
3+
ARG BUILDER_IMAGE=golang:1.23-alpine
4+
ARG BASE_IMAGE=gcr.io/distroless/base-debian10
55

66
## Multistage build
77
FROM ${BUILDER_IMAGE} as builder

0 commit comments

Comments
 (0)