Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails with Docker and xcaddy #43

Closed
philipkukoba opened this issue Jan 6, 2023 · 1 comment
Closed

Build fails with Docker and xcaddy #43

philipkukoba opened this issue Jan 6, 2023 · 1 comment

Comments

@philipkukoba
Copy link

I want to build a docker image with the caddy-security plugin, the build fails, here is the output:
image

My Dockerfile:

FROM caddy:2.6.2-builder AS builder
RUN xcaddy build \
    --with github.com/greenpau/caddy-security@v1.1.17
FROM caddy:2.6.2
COPY --from=builder /usr/bin/caddy /usr/bin/caddy

It seems that some 'github.com/crewjam/saml@v0.4.10' package is causing the issue? Any ideas?

@greenpau
Copy link
Collaborator

greenpau commented Jan 6, 2023

@philipkukoba , please see for a temporary fix. greenpau/caddy-security#196

This will not be necessary once upstream is fixed.

@greenpau greenpau closed this as completed Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants