error on image build - 404
gt4dev opened this issue · comments
Hi
When I try to build image from Dockerfile
with command:
docker build -t test-image-t1 .
Initially build works ok
but ultimately it fails with an error:
> [6/7] RUN set -ex; curl -o mybb.tar.gz -fSL "https://github.com/mybb/mybb/archive/refs/tags/mybb_.tar.gz"; echo " *mybb.tar.gz" | sha512sum -c -; tar -xzf mybb.tar.gz -C /usr/src/; rm mybb.tar.gz; chown -R www-data:www-data /usr/src/mybb-mybb_:
#9 0.188 + curl -o mybb.tar.gz -fSL https://github.com/mybb/mybb/archive/refs/tags/mybb_.tar.gz
#9 0.191 % Total % Received % Xferd Average Speed Time Time Time Current
#9 0.191 Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 14 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
#9 1.136 curl: (22) The requested URL returned error: 404
Do you know where I can find this file?
https://github.com/mybb/mybb/archive/refs/tags/mybb_.tar.gz
I'm using MacOS 13.0.1 with CPU ARM64 - that's why I want to build own image. The one from docker repo seems to be for AMD64.
Thank you & cheers
GT
edit:
Seems that standard image - works fine on M1 CPU. And in essence - the whole MyBB works well on docker.
Earlier I mistook 'docker compose' config.
btw. seems like archives have been moved
where? here? ;]
https://mybb.com/versions/1.8.32/
https://github.com/mybb/docker#how-to-build-this-image
You are missing required BUILD_SHA512SUM
and BUILD_VERSION
environment variables from your docker build
command most likely.