Skip to content

Commit e93541d

Browse files
authored
adding defaults to args for simple local docker build (#242)
1 parent ee46fd9 commit e93541d

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)