Why does apk add wget give me code 2 error?

1.6k views Asked by At

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?

0

There are 0 answers