edgeservices
edgeservices copied to clipboard
Avoid using explicit version for sudo
Using an explicit version of sudo does not looks like the requirement, thus removing the version based package add to fix the break for image build
Signed-off-by: Prabhjot Singh Sethi [email protected]
without this change "make edgednssvr" fails
GOOS=linux go build -a --ldflags '-extldflags "-static"' -tags netgo -installsuffix netgo -o ./dist/edgednssvr/edgednssvr ./cmd/edgednssvr VER=1.0 docker-compose build edgednssvr Step 1/15 : FROM alpine:3.12.0 AS edgedns-deps-image ---> a24bb4013296 Step 2/15 : RUN printf "http://nl.alpinelinux.org/alpine/v3.12/main\nhttp://nl.alpinelinux.org/alpine/v3.12/community" >> /etc/apk/repositories ---> Running in 58a1c5acf93b Removing intermediate container 58a1c5acf93b ---> 6827dc6bfa5e Step 3/15 : RUN apk add --no-cache sudo=1.9.0-r0 ---> Running in 522348f69fb0 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz ^[[91mERROR: unsatisfiable constraints: ^[[0m sudo-1.9.5p2-r0: breaks: world[sudo=1.9.0-r0]