giandonatoinverso / PHP-Dynamic-Qr-code

PHP Dynamic Qr code is a script that allows the generation and saving of dynamic and static QR codes
MIT License
244 stars 73 forks source link

Unable to build Docker image #43

Closed Xatinni closed 1 year ago

Xatinni commented 1 year ago

Unable to build the image using the provided Dockerfile, I believe https://github.com/giandonatoinverso/PHP-Dynamic-Qr-code/archive/v1.0.0Do.tar.gz is unavailable

docker build ./ Sending build context to Docker daemon 12.29kB Step 1/28 : FROM php:7.4.21-apache ---> 308df3245e41 Step 2/28 : ARG APP_VERSION=v1.0.0Do ---> Using cache ---> 08b57428a1d5 Step 3/28 : RUN apt-get update && apt-get install -y --no-install-recommends less nano tini curl tar git zip unzip && apt-get install -y --no-install-recommends iputils-ping dnsutils net-tools procps && apt-get autoremove -y && apt-get clean -y ---> Using cache ---> 04cdb36b4add Step 4/28 : RUN curl -SL -o app.tar.gz "https://github.com/giandonatoinverso/PHP-Dynamic-Qr-code/archive/${APP_VERSION}.tar.gz" && mkdir -p /app && tar xvf app.tar.gz -C /app --strip-components=1 && cp -r /app/qrcode/** /var/www/html && rm app.tar.gz ---> Running in 1a9683218a15 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14 100 14 0 0 21 0 --:--:-- --:--:-- --:--:-- 21 tar: This does not look like a tar archive

gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now The command '/bin/sh -c curl -SL -o app.tar.gz "https://github.com/giandonatoinverso/PHP-Dynamic-Qr-code/archive/${APP_VERSION}.tar.gz" && mkdir -p /app && tar xvf app.tar.gz -C /app --strip-components=1 && cp -r /app/qrcode/** /var/www/html && rm app.tar.gz' returned a non-zero code: 2

giandonatoinverso commented 1 year ago

Pull and try again. I released a new version and changed APP_VERSION in the Dockerfile

Xatinni commented 1 year ago

Resolved, thank you.