[solved] Error building Docker image with v1.11.5

Hi Gitears,

I have got with git the source : v1.11.5 and lanch make to build the docker image and there is an error on the step 7, due I think to recents modifications in files needed on the site alpinelinux

That’s my terminal :
$ make -f docker/Makefile
docker build --disable-content-trust=false -t gitea/gitea:latest .
Sending build context to Docker daemon 292.1MB
Step 1/23 : FROM golang@sha256:d3a08e6a81ef8f25c7b9f4b8f2990fe76790f057ef7f8053e8884511ddd81756 AS build-env
sha256:d3a08e6a81ef8f25c7b9f4b8f2990fe76790f057ef7f8053e8884511ddd81756: Pulling from library/golang
cbdbe7a5bc2a: Pull complete

Step 7/23 : RUN apk --no-cache add build-base git nodejs npm
—> Running in ab2580202998
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz
WARNING: Ignoring APKINDEX.tar.gz: temporary error (try again later)
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz
WARNING: Ignoring APKINDEX.tar.gz: temporary error (try again later)
ERROR: unsatisfiable constraints:
build-base (missing):
required by: world[build-base]
git (missing):
required by: world[git]
nodejs (missing):
required by: world[nodejs]
npm (missing):
required by: world[npm]
The command ‘/bin/sh -c apk --no-cache add build-base git nodejs npm’ returned a non-zero code: 4
make: *** [docker/Makefile:9: docker] Error 4

Thanks to every body who can help for this :wink:

Regards.
Patrick

Seems like since Alpine just released a new version their CDN may be overloaded.

It works with the v 1.11.6 ! :grinning:

Thanks a lot !

1 Like