File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Dockerfile has specific requirement to put this ARG at the beginning:
2
2
# https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact
3
- ARG BUILDER_IMAGE=golang:1.23-alpine
4
- ARG BASE_IMAGE=gcr.io/distroless/base-debian10
3
+ ARG BUILDER_IMAGE=golang:1.23
4
+ ARG BASE_IMAGE=gcr.io/distroless/static:nonroot
5
5
6
6
# # Multistage build
7
7
FROM ${BUILDER_IMAGE} AS builder
Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ SYNCER_IMAGE_NAME := lora-syncer
36
36
SYNCER_IMAGE_REPO ?= $(IMAGE_REGISTRY ) /$(SYNCER_IMAGE_NAME )
37
37
SYNCER_IMAGE_TAG ?= $(SYNCER_IMAGE_REPO ) :$(GIT_TAG )
38
38
39
- BASE_IMAGE ?= gcr.io/distroless/base-debian10
40
- BUILDER_IMAGE ?= golang:1.23-alpine
39
+ BASE_IMAGE ?= gcr.io/distroless/static:nonroot
40
+ BUILDER_IMAGE ?= golang:1.23
41
41
ifdef GO_VERSION
42
42
BUILDER_IMAGE = golang:$(GO_VERSION )
43
43
endif
You can’t perform that action at this time.
0 commit comments