Skip to content

improve test of Docker image #4912

@vladak

Description

@vladak

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

opengrok/dev/docker.sh

Lines 55 to 61 in 2c9ac25

#
# 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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions