Caddy does not build
See original GitHub issueAPI Platform version(s) affected: 2.6.8
Description
Caddy does not build
2022/06/07 08:14:29 [FATAL] exit status 2
[568] Service 'caddy' failed to build : The command '/bin/sh -c xcaddy build --with github.com/dunglas/mercure --with github.com/dunglas/mercure/caddy --with github.com/dunglas/vulcain --with github.com/dunglas/vulcain/caddy' returned a non-zero code: 1
[569]
Cleaning up project directory and file based variables
00:01
[570] ERROR: Job failed: exit status 1
How to reproduce
Build API platform
Additional Context
Gitlab CI/CD
Issue Analytics
- State:
- Created a year ago
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Build from source — Caddy Documentation
The xcaddy command is the easiest way to build Caddy with version information and/or plugins. Requirements: ... You do not need to download...
Read more >Trying to build caddy from source to test 2.5.0-beta with plugins
xcaddy build. This part fails for me, I'm assuming I can NOT use go 1.18 here and should fall back to go 1.16...
Read more >Building Caddy Server From Source - Calhoun.io
Caddy's licensing change makes it problematic for many bootstrapped projects. Learn to build Caddy from source which is still open source with no...
Read more >arm64v8/caddy - Docker Image
Building your own Caddy-based image. Most users deploying production sites will not want to rely on mounting files into a container, but will...
Read more >Unable to build Caddy with custom modules - NixOS Discourse
installing install: cannot stat '/nix/store/krcc44294g624jah0vf778czc4j3dxk5-source/init/caddy.service': No such file or directory install: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same today with a fresh clone, while building with --no-cache. Updating caddy version as suggested by @icfmp did the trick:
Same today but with mercure instead
I had to change CADDY_VERSION to 2.5.2 in place of 2.5.1. CADDY_VERSION=2 didn’t work for me.