WARNING: The repository tag for world dependency 'apk-tools@edge' does not exist
Hi,
See the following Docker file where I’m trying to keep using Alpine 3.7 version and installing some package from the edge repository
FROM alpine:3.7
RUN echo "http://dl-cdn.alpinelinux.org/alpine/v3.7/community" >> /etc/apk/repositories
RUN echo "@edgecommunity http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
RUN echo "@edge http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories
RUN apk add --upgrade apk-tools
RUN apk add --upgrade apk-tools@edge
RUN apk update
# install icinga2
RUN apk add icinga2@edgecommunity
...
But the build keeps failing with the following message :
Step 6/20 : RUN apk add --upgrade apk-tools@edge
---> Running in 6c3fcc6d43f7
WARNING: Ignoring APKINDEX.70c88391.tar.gz: No such file or directory
WARNING: Ignoring APKINDEX.5022a8a2.tar.gz: No such file or directory
WARNING: Ignoring APKINDEX.b53994b4.tar.gz: No such file or directory
WARNING: Ignoring APKINDEX.066df28d.tar.gz: No such file or directory
WARNING: The repository tag for world dependency 'apk-tools@edge' does not exist
ERROR: Not committing changes due to missing repository tags. Use --force-broken-world to override.
The command '/bin/sh -c apk add --upgrade apk-tools@edge' returned a non-zero code: 255
I don’t understand because the package apk-tools exist in the repository : http://dl-cdn.alpinelinux.org/alpine/edge/main/x86\_64/
Any help will be much appreciate :) bye
(from redmine: issue id 8961, created on 2018-06-01)