2de79a4d8c
So: - Created new VM based on debian-slim - Could also be used as a build VM Fixes: - ginstall issue with merge somewhere. - Trimmed down the alpine VM since we don't need the extra libraries for cypress
15 lines
320 B
Bash
Executable File
15 lines
320 B
Bash
Executable File
#!/bin/bash
|
|
|
|
function finish {
|
|
echo "Exiting and cleaning up docker image"
|
|
docker-compose down
|
|
}
|
|
trap finish EXIT
|
|
|
|
# Enter the docker container
|
|
if [ "$1" = "built" ]; then
|
|
docker-compose run cibuilt sh -c "cd /root; exec bash --login -i"
|
|
else
|
|
docker-compose run citest sh -c "cd /root; exec bash --login -i"
|
|
fi
|