Skip to content

Commit

Permalink
Fix Docker images build error when using Podman Compose (#442)
Browse files Browse the repository at this point in the history
This PR resolves the following error when using podman-compose:

    Error: short-name "caddy:2.6.4-alpine" did not resolve to an alias and
    no unqualified-search registries are defined in
    "/etc/containers/registries.conf"

We also bump the Docker image for Caddy and Alpine Linux.
  • Loading branch information
kianmeng authored Jul 1, 2024
1 parent b9ade4a commit 61f0989
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ services:
- "8889:8888"

httpbin:
image: kennethreitz/httpbin:latest
image: docker.io/kennethreitz/httpbin:latest
ports:
- "8080:80"

caddyhttpbin:
image: caddy:2.6.4-alpine
image: docker.io/caddy:2.8.4-alpine
# In GitHub Actions we want to access the files created
# by Caddy. However, in Linux these end up being owned by root
# because the container by default runs using the root user
Expand Down
2 changes: 1 addition & 1 deletion test/docker/tinyproxy-auth/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.17.2
FROM docker.io/alpine:3.20.1

RUN apk add --no-cache \
tinyproxy
Expand Down
2 changes: 1 addition & 1 deletion test/docker/tinyproxy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.17.2
FROM docker.io/alpine:3.20.1

RUN apk add --no-cache \
tinyproxy
Expand Down

0 comments on commit 61f0989

Please sign in to comment.