mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
build: use BASE_IMAGE from build.env
Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
f1da7d9bd1
commit
4fd973b924
@ -1,4 +1,5 @@
|
||||
FROM ceph/ceph:v15
|
||||
ARG BASE_IMAGE
|
||||
FROM ${BASE_IMAGE}
|
||||
|
||||
ARG GOROOT=/usr/local/go
|
||||
|
||||
|
@ -10,8 +10,8 @@ export DOCKER_CLI_EXPERIMENTAL=enabled
|
||||
cd "$(dirname "${0}")/.."
|
||||
|
||||
# ceph base image used for building multi architecture images
|
||||
dockerfile="deploy/cephcsi/image/Dockerfile"
|
||||
baseimg=$(awk -F = '/^ARG BASE_IMAGE=/ {print $NF}' "${dockerfile}")
|
||||
build_env="build.env"
|
||||
baseimg=$(awk -F = '/^BASE_IMAGE=/ {print $NF}' "${build_env}")
|
||||
|
||||
# get image digest per architecture
|
||||
# {
|
||||
|
Reference in New Issue
Block a user