Is 2.7.3 docker image in building process?

1. The problem I’m having:

I cannot find 2.7.3 tag of Caddy on Docket Hub.
I do not know how long it takes to be built. Please let me know whether it is in progress or not

Thank you.

2. Error messages and/or full log output:

PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.

3. Caddy version:

4. How I installed and ran Caddy:

a. System environment:

b. Command:

PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.

c. Service/unit/compose file:

PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.

d. My complete Caddy config:

PASTE OVER THIS, BETWEEN THE ``` LINES.
Please use the preview pane to ensure it looks nice.

5. Links to relevant resources:

There are manual steps to it, and it’s a long weekend for us. It will be soon.

Or you can use the builder image variant and explicitly build v2.7.3 yourself with xcaddy build v2.7.3 :+1: (see the docs on Docker Hub)

2 Likes

Does it mean I could

FROM caddy:2.7.0-builder
RUN xcaddy build v2.7.3

? I didn’t know that. I will try it later, thank you!

If it is true, I did not have to look for caddy:2.7.3 image. Because my code is already like:

:smile:

Yeah, the builder image just ships with the latest version of xcaddy and Go. You need to use a builder image with at least Go 1.20, and the the 2.7.2 image does.

2 Likes

10 Minutes ago new builds were released on hub.docker.com. But again only 2.7.2

Yes, those are automated rebuilds from the Docker Official Images program. Those rebuilds are normal, depending on upstream dependencies triggering updates.

1 Like

I had the same issue, since I needed to build caddy to add a couple of modules.
This dockerfile worked for me, after trial and error, since github.com/caddy-dns/cloudflare does not accept any version lower than 2.7.3:

FROM caddy:2.7.2-builder AS builder

RUN xcaddy build v2.7.3 \
    --with github.com/caddy-dns/cloudflare \
    --with github.com/hslatman/caddy-crowdsec-bouncer/http

FROM caddy:2.7.2

COPY --from=builder /usr/bin/caddy /usr/bin/caddy

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.