I am running the following in my docker file
FROM alpine:latest
RUN apk update && apk add --no-cache wget
I get the following error
2 errors; 14 distinct packages available ERROR: executor failed running [/bin/sh -c apk update && apk add --no-cache wget] exit code 2 Service 'cron' Failed to build
Is this command correct?
CodePudding user response:
No, it’s not an error.
That’s apk update
telling you how many packages are available in the index.
CodePudding user response:
FROM alpine:latest
RUN apk update && apk add --no-cache wget
FROM: <-- ( : )