Currently the Docker image testing is very rudimentary and does not catch even basic errors in the entrypoint script (like when I specified wrong group for the chown done in the script and it instantly failed) so the current way
|
# |
|
# Run the image in a container. This is not strictly needed however |
|
# serves as additional test in automatic builds. |
|
# |
|
echo "Running the image in container" |
|
docker run -d $IMAGE |
|
docker ps -a |
really needs to be replaced with something else.
Currently the Docker image testing is very rudimentary and does not catch even basic errors in the entrypoint script (like when I specified wrong group for the
chowndone in the script and it instantly failed) so the current wayopengrok/dev/docker.sh
Lines 55 to 61 in 2c9ac25