WARNING: Ignoring APK No such file or directory



  • WARNING: Ignoring APKINDEX.aee5641b.tar.gz: No such file or directory
    WARNING: Ignoring APKINDEX.cc30ea1d.tar.gz: No such file or directory

    I am seeing these kind of errors when trying out a docker example.

    My Dockerfile contains:

    cat Dockerfile 
    FROM gliderlabs/alpine:latest
    
    RUN apk info
    
    docker build -t moothoot .          
    Sending build context to Docker daemon  2.048kB
    Step 1/2 : FROM gliderlabs/alpine:latest
     ---> dd0abbe5ed7d
    Step 2/2 : RUN apk info
     ---> Running in 66626b61c2a8
    musl
    busybox
    alpine-baselayout
    alpine-keys
    libressl2.5-libcrypto
    libressl2.5-libssl
    zlib
    apk-tools
    scanelf
    musl-utils
    libc-utils
    WARNING: Ignoring APKINDEX.aee5641b.tar.gz: No such file or directory
    WARNING: Ignoring APKINDEX.cc30ea1d.tar.gz: No such file or directory
    Removing intermediate container 66626b61c2a8
     ---> ef3cc62b14a2
    Successfully built ef3cc62b14a2
    Successfully tagged moothoot:latest
    

    can anyone help?



  • @hawksbill
    The message displayed is a warning to say the no cache entries exist, if the build is new. and nothing has been installed, no cache entries will exist, adding package fetches the repo cache and put it under /var/cache/apk/*


Log in to reply
 

© Lightnetics 2022