mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-07 00:48:53 +01:00
12 lines
374 B
Bash
Executable File
12 lines
374 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
IMAGE=$1
|
|
|
|
if [ ! -f container-structure-test ]; then
|
|
curl -LO https://storage.googleapis.com/container-structure-test/latest/container-structure-test-linux-amd64
|
|
mv container-structure-test-linux-amd64 container-structure-test
|
|
chmod +x container-structure-test
|
|
fi
|
|
|
|
./container-structure-test test --image $IMAGE --config tests/image_tests.yaml
|