From 5a8ece913e58ad6576dd5de35c74276ed96ec6bf Mon Sep 17 00:00:00 2001 From: Ramkumar Chinchani Date: Fri, 5 May 2023 22:00:58 +0000 Subject: [PATCH] test: add some more compose tests Signed-off-by: Ramkumar Chinchani --- test/import.bats | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/test/import.bats b/test/import.bats index a256bd25..876628b8 100644 --- a/test/import.bats +++ b/test/import.bats @@ -405,6 +405,20 @@ cimg-import: dest: / run: | [ -d /var/lib/apk ] + +compose-img: + from: + type: scratch + import: + - path: docker://ghcr.io/homebrew/core/openssl/1.1:1.1.1k + dest: / + - path: docker://ghcr.io/homebrew/core/curl:8.0.1 + dest: / + - path: docker://ghcr.io/homebrew/core/ca-certificates:2022-10-11 + dest: / + run: | + [ -f /curl/8.0.1/bin/curl ] + [ -f /ca-certificates/2022-10-11/share/ca-certificates/cacert.pem ] EOF stacker build }