This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.16/main: Permission denied #1510
Labels
0. Needs triage
Pending approval or rejection. This issue is pending approval.
enhancement
New feature or request
How to use GitHub
When start the container nextcloud_aio_nextcloud,
It is very slow for step "Installing imagemagick via apk..."
and finally failed for "Installing PHP build dependencies..."
So add a proxy for the domain "dl-cdn.alpinelinux.org"
then it will be very quick, however get the failure below
Installing imagemagick via apk...
Installing PHP build dependencies...
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.16/main: Permission denied
ERROR: unable to select packages:
Could not install build-deps!
Installing Imagick via PECL...
error: 'imagick' does not exist
Describe the solution you'd like
Search on the internet, seems there is solution below
RUN sed 's/https/http/g' -i /etc/apk/repositories
RUN apk update
RUN apk add --no-cache bash
Can we also add this in the startup.sh file before installing the php extensions ?
or some other better solution ? Thanks
@szaimen
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: