aboutsummaryrefslogtreecommitdiff
path: root/ci/test_imagefile
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-01-27 12:42:46 +0100
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-01-28 17:59:07 +0100
commitfa486de212108b4609d7c247d2a578f0b4df9703 (patch)
tree5a0bd290f268ca6054bb0edd2b1624f866075782 /ci/test_imagefile
parent9a288430df93ff0124faac1add73da5105f16898 (diff)
downloadbitcoin-fa486de212108b4609d7c247d2a578f0b4df9703.tar.xz
ci: Cache package manager install step
Diffstat (limited to 'ci/test_imagefile')
-rw-r--r--ci/test_imagefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/ci/test_imagefile b/ci/test_imagefile
new file mode 100644
index 0000000000..4854708d1a
--- /dev/null
+++ b/ci/test_imagefile
@@ -0,0 +1,10 @@
+ARG CI_IMAGE_NAME_TAG
+FROM ${CI_IMAGE_NAME_TAG}
+
+ARG FILE_ENV
+ENV FILE_ENV=${FILE_ENV}
+
+COPY ./ci/retry/retry /usr/bin/retry
+COPY ./ci/test/00_setup_env.sh ./${FILE_ENV} ./ci/test/01_base_install.sh /ci_base_install/ci/test/
+
+RUN ["bash", "-c", "cd /ci_base_install/ && set -o errexit && source ./ci/test/00_setup_env.sh && ./ci/test/01_base_install.sh"]