Skip to content

Commit

Permalink
Create named containers when running docker/podman tests
Browse files Browse the repository at this point in the history
This simplifies container operations and ensures that we don't have
dead containers hanging around.

Relates to: vedang#98
  • Loading branch information
vedang committed May 22, 2022
1 parent a243f41 commit 4be4df7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ docker/.%.build: docker/%.Dockerfile ../autobuild docker/lib
# Run the Dockerfile
docker/%: docker/.%.build
@echo Running tests on target $*
podman run epdfinfo/$*
podman run --name epdfinfo-$* epdfinfo/$*

# Run all Dockerfiles
docker/test: docker/build $(patsubst %, docker/%, $(DOCKER_OS))
Expand Down

0 comments on commit 4be4df7

Please sign in to comment.