caddyserver / caddy-docker

Source for the official Caddy v2 Docker Image
https://hub.docker.com/_/caddy
Apache License 2.0
405 stars 74 forks source link

Build failing for 2.6.4 #283

Closed jarredwitt closed 1 year ago

jarredwitt commented 1 year ago

Hello,

I have the following Dockerfile:

FROM caddy:2.6.4

COPY Caddyfile /etc/caddy/Caddyfile

When I go to deploy I get the following error:

standard_init_linux.go:228: exec user process caused: operation not permitted

This error also occurs for 2.6.3, but doesn't occur for 2.6.2.

francislavoie commented 1 year ago

Are you sure you pulled down the correct image for your CPU architecture?

jarredwitt commented 1 year ago

So I pulled the following images and got the same operation not permitted error (deploying via render.com):

2.6.3, 2.6.3-alpine, 2.6.4, 2.6.4-alpine

I finally tried 2.6.4-builder-alpine and that ended up deploying successfully.

Edit: I spoke too soon. Realized what I saw a previous successful build from the 2.6.2 image. The build also ended up failing with the same error as the other builds.

hairyhenderson commented 1 year ago

@jarredwitt this looks to me like an issue with your environment - you'll need to provide more details about your environment (how are you building? what versions of all software involved in building? how are you deploying? what versions of all software involved in deploying?)

hairyhenderson commented 1 year ago

Closing due to lack of response