mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-15 16:38:23 +01:00
ci: have base install run in right dir
Github-Pull: #32989
Rebased-From: 9c2b96e0d0
This sets the build dir at build time so that Apple SDK gets installed
in the correct/expected location for the runtime to find it.
Co-authored-by: Max Edwards <youwontforgetthis@gmail.com>
This commit is contained in:
@@ -30,6 +30,7 @@ if [ -z "$DANGER_RUN_CI_ON_HOST" ]; then
|
|||||||
--file "${BASE_READ_ONLY_DIR}/ci/test_imagefile" \
|
--file "${BASE_READ_ONLY_DIR}/ci/test_imagefile" \
|
||||||
--build-arg "CI_IMAGE_NAME_TAG=${CI_IMAGE_NAME_TAG}" \
|
--build-arg "CI_IMAGE_NAME_TAG=${CI_IMAGE_NAME_TAG}" \
|
||||||
--build-arg "FILE_ENV=${FILE_ENV}" \
|
--build-arg "FILE_ENV=${FILE_ENV}" \
|
||||||
|
--build-arg "BASE_ROOT_DIR=${BASE_ROOT_DIR}" \
|
||||||
$MAYBE_CPUSET \
|
$MAYBE_CPUSET \
|
||||||
--platform="${CI_IMAGE_PLATFORM}" \
|
--platform="${CI_IMAGE_PLATFORM}" \
|
||||||
--label="${CI_IMAGE_LABEL}" \
|
--label="${CI_IMAGE_LABEL}" \
|
||||||
|
|||||||
@@ -10,6 +10,9 @@ FROM ${CI_IMAGE_NAME_TAG}
|
|||||||
ARG FILE_ENV
|
ARG FILE_ENV
|
||||||
ENV FILE_ENV=${FILE_ENV}
|
ENV FILE_ENV=${FILE_ENV}
|
||||||
|
|
||||||
|
ARG BASE_ROOT_DIR
|
||||||
|
ENV BASE_ROOT_DIR=${BASE_ROOT_DIR}
|
||||||
|
|
||||||
COPY ./ci/retry/retry /usr/bin/retry
|
COPY ./ci/retry/retry /usr/bin/retry
|
||||||
COPY ./ci/test/00_setup_env.sh ./${FILE_ENV} ./ci/test/01_base_install.sh /ci_container_base/ci/test/
|
COPY ./ci/test/00_setup_env.sh ./${FILE_ENV} ./ci/test/01_base_install.sh /ci_container_base/ci/test/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user