Skip to content

Commit

Permalink
docker: podman-friendly image locations
Browse files Browse the repository at this point in the history
Adds fully qualified canonical locations of container images, making the
container technology setup podman-friendly.

Closes reanahub/reana#729.
  • Loading branch information
tiborsimko committed Aug 8, 2023
1 parent 827a812 commit 607e26e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# under the terms of the MIT License; see LICENSE file for more details.

# Use Ubuntu LTS base image
FROM ubuntu:20.04
FROM docker.io/library/ubuntu:20.04

# Use default answers in installation commands
ENV DEBIAN_FRONTEND=noninteractive
Expand Down
6 changes: 3 additions & 3 deletions run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ clean_old_db_container () {

start_db_container () {
echo '==> [INFO] Starting DB container...'
docker run --rm --name postgres__reana-server -p 5432:5432 -e POSTGRES_PASSWORD=mysecretpassword -d postgres:12.13
docker run --rm --name postgres__reana-server -p 5432:5432 -e POSTGRES_PASSWORD=mysecretpassword -d docker.io/library/postgres:12.13
_check_ready "Postgres" _db_check
}

Expand Down Expand Up @@ -90,11 +90,11 @@ check_pytest () {
}

check_dockerfile () {
docker run -i --rm hadolint/hadolint:v1.18.2 < Dockerfile
docker run -i --rm docker.io/hadolint/hadolint:v1.18.2 < Dockerfile
}

check_docker_build () {
docker build -t reanahub/reana-server .
docker build -t docker.io/reanahub/reana-server .
}

check_all () {
Expand Down

0 comments on commit 607e26e

Please sign in to comment.