cloudreach / squid-utm

Squid Proxy + AWS Fargate
https://www.cloudreach.com/blog/squid-proxy-aws-fargate/
Other
45 stars 25 forks source link

confd package is not found #3

Open surendarkaniops opened 3 years ago

surendarkaniops commented 3 years ago

i am getting error when i run the docker build

root@ip-192-168-4-198 devops]# [root@ip-192-168-4-198 devops]# docker build -t testing . Sending build context to Docker daemon 5.852MB Step 1/8 : FROM alpine latest: Pulling from library/alpine Digest: sha256:234cb88d3020898631af0ccbbcca9a66ae7306ecd30c9720690858c1b007d2a0 Status: Downloaded newer image for alpine:latest ---> d4ff818577bc Step 2/8 : LABEL maintainer="Giulio Calzolari giuliocalzolari@users.noreply.github.com" org.label-schema.name="Squid" org.label-schema.description="AWS UTM Squid docker image based on Alpine Linux." org.label-schema.schema-version="1.0" ---> Running in a97d0eab5ba6 Removing intermediate container a97d0eab5ba6 ---> f43efc7fd054 Step 3/8 : RUN echo "http://nl.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories && apk add --no-cache --update bash confd squid ---> Running in 0c5650081833 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz fetch http://nl.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz ERROR: unable to select packages: confd (no such package): required by: world[confd] The command '/bin/sh -c echo "http://nl.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories && apk add --no-cache --update bash confd squid' returned a non-zero code: 1

davidtrabanca commented 2 years ago

same problem

giuliocalzolari commented 2 years ago

yeah ! confd seems to be removed from alpine repos.

it is now required to use the binary installation https://github.com/kelseyhightower/confd/blob/master/docs/installation.md

giuliocalzolari commented 2 years ago

something like that should work https://github.com/dockage/confd/blob/master/alpine/3.11/Dockerfile