Skip to content

Commit 8fd15ce

Browse files
Add repo name to docker image to work with podman
Signed-off-by: Alexandros Filios <[email protected]>
1 parent 6ffb9af commit 8fd15ce

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Diff for: Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ orion-server-images:
8787
.PHONY: testing-docker-images
8888
testing-docker-images:
8989
docker pull postgres:16.2-alpine
90-
docker tag postgres:16.2-alpine postgres:latest
90+
docker tag postgres:16.2-alpine fsc.itests/postgres:latest
9191

9292
INTEGRATION_TARGETS = integration-tests-iou
9393
INTEGRATION_TARGETS += integration-tests-atsacc

Diff for: platform/view/services/db/driver/sql/postgres/test_utils.go

+5-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ import (
2727
_ "modernc.org/sqlite"
2828
)
2929

30-
const PostgresImage = "postgres:latest"
30+
// postgres:latest will not work on Podman, because Podman automatically prefixes it with localhost/
31+
// docker.io/postgres:latest will not work on Docker, because Docker omits the default repo docker.io
32+
// itests will not be recognized as a domain, so Podman will still prefix it with localhost
33+
// Hence we use fsc.itests as domain
34+
const PostgresImage = "fsc.itests/postgres:latest"
3135

3236
type Logger interface {
3337
Log(...any)

0 commit comments

Comments
 (0)