mirror of
https://github.com/project-zot/zot.git
synced 2026-06-18 05:28:07 +08:00
fix(build): upgrade zot runtime base image to distroless debian13 (#3791)
* fix(build): upgrade zot runtime base image to distroless debian13 Signed-off-by: Luca Muscariello <muscariello@ieee.org> * fix(build): align Makefile BASE_IMAGE with distroless debian13 Signed-off-by: Luca Muscariello <muscariello@ieee.org> --------- Signed-off-by: Luca Muscariello <muscariello@ieee.org>
This commit is contained in:
@@ -24,7 +24,7 @@ jobs:
|
||||
echo "BASE_IMAGE=freebsd/freebsd-static:14.3" >> "$GITHUB_ENV"
|
||||
else
|
||||
ARCH=${{ matrix.arch }}
|
||||
echo "BASE_IMAGE=gcr.io/distroless/base-debian12:latest-${ARCH}" >> "$GITHUB_ENV"
|
||||
echo "BASE_IMAGE=gcr.io/distroless/base-nossl-debian13:latest-${ARCH}" >> "$GITHUB_ENV"
|
||||
fi
|
||||
- name: Check out the repo
|
||||
uses: actions/checkout@v6
|
||||
|
||||
@@ -72,7 +72,7 @@ UI_DEPENDENCIES := search,mgmt,userprefs
|
||||
# freebsd is not supported for pie builds if CGO is disabled
|
||||
# see supported platforms at https://cs.opensource.google/go/go/+/master:src/internal/platform/supported.go;l=222-231;drc=d7fcb5cf80953f1d63246f1ae9defa60c5ce2d76
|
||||
BUILDMODE_FLAGS := -buildmode=pie
|
||||
BASE_IMAGE=gcr.io/distroless/base-debian12:latest-$(ARCH)
|
||||
BASE_IMAGE=gcr.io/distroless/base-nossl-debian13:latest-$(ARCH)
|
||||
ifeq ($(OS),freebsd)
|
||||
BUILDMODE_FLAGS=
|
||||
BASE_IMAGE=freebsd/freebsd-static:14.3
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
# FROM argument 'BASE_IMAGE' is not declared
|
||||
# Podman: Error: determining starting point for build: no FROM statement found
|
||||
# ---
|
||||
ARG BASE_IMAGE
|
||||
ARG BASE_IMAGE=gcr.io/distroless/base-nossl-debian13:latest
|
||||
|
||||
# ---
|
||||
# Stage 1: Install certs, build binary, create default config file
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
# FROM argument 'BASE_IMAGE' is not declared
|
||||
# Podman: Error: determining starting point for build: no FROM statement found
|
||||
# ---
|
||||
ARG BASE_IMAGE
|
||||
ARG BASE_IMAGE=gcr.io/distroless/base-nossl-debian13:latest
|
||||
|
||||
# ---
|
||||
# Stage 1: Install certs, build binary, create default config file
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
# FROM argument 'BASE_IMAGE' is not declared
|
||||
# Podman: Error: determining starting point for build: no FROM statement found
|
||||
# ---
|
||||
ARG BASE_IMAGE
|
||||
ARG BASE_IMAGE=gcr.io/distroless/base-nossl-debian13:latest
|
||||
|
||||
# ---
|
||||
# Stage 1: Install certs, build binary, create default config file
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
# FROM argument 'BASE_IMAGE' is not declared
|
||||
# Podman: Error: determining starting point for build: no FROM statement found
|
||||
# ---
|
||||
ARG BASE_IMAGE
|
||||
ARG BASE_IMAGE=gcr.io/distroless/base-nossl-debian13:latest
|
||||
|
||||
# ---
|
||||
# Stage 1: Build binary, create default config file
|
||||
|
||||
Reference in New Issue
Block a user