Received this error when docker-compose build. It's because caddy server download location has been changed.
Step 3/9 : RUN curl https://caddyserver.com/download/linux/amd64?license=personal | tar --no-same-owner -C /usr/bin/ -xz caddy ---> Running in 98572dae36c4 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 gzip: invalid magic tar: Child returned status 1 tar: Error is not recoverable: exiting now ERROR: Service 'caddy' failed to build: The command '/bin/sh -c curl https://caddyserver.com/download/linux/amd64?license=personal | tar --no-same-owner -C /usr/bin/ -xz caddy' returned a non-zero code: 2
Received this error when docker-compose build. It's because caddy server download location has been changed.
Step 3/9 : RUN curl https://caddyserver.com/download/linux/amd64?license=personal | tar --no-same-owner -C /usr/bin/ -xz caddy ---> Running in 98572dae36c4 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 gzip: invalid magic tar: Child returned status 1 tar: Error is not recoverable: exiting now ERROR: Service 'caddy' failed to build: The command '/bin/sh -c curl https://caddyserver.com/download/linux/amd64?license=personal | tar --no-same-owner -C /usr/bin/ -xz caddy' returned a non-zero code: 2