error building image
Before reporting a bug, please see our FAQ in FAQ.md!
Description
when I give the command: docker build proxy/ -t whatsapp_proxy:1.0 I get the following error:
Sending build context to Docker daemon 18.43kB Step 1/27 : FROM haproxy:lts-alpine ---> cf4bb5e21f49 Step 2/27 : USER root ---> Using cache ---> 5e6f31115683 Step 3/27 : RUN apk --no-cache add curl openssl jq bash ---> Running in 30daa02b354f fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.17/main: temporary error (try again later) WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.17/community: temporary error (try again later) ERROR: unable to select packages: bash (no such package): required by: world[bash] curl (no such package): required by: world[curl] jq (no such package): required by: world[jq] openssl (no such package): required by: world[openssl] The command '/bin/sh -c apk --no-cache add curl openssl jq bash' returned a non-zero code: 4 also try with: docker build --no-cache proxy/ -t whatsapp-proxy:1.0 and i get the same error
Failed Step
- Build the proxy host container
More Details
operating system: ubuntu 22.4 x64 docker version: Docker version 20.10.17, build 100c70180f
We've seen reports of this issue but have been unable to reproduce it locally. For now as a workaround, it'd be best to use the pre-built image hosted at https://hub.docker.com/r/facebook/whatsapp_proxy
This can be retrieved with
docker pull facebook/whatsapp_proxy
Hello, I think the problem is because I installed docker with the snap install docker command. I also tried it with the prebuilt image, but it gave me another error. I deleted everything and followed the steps of: https://docs.docker.com/engine/install/ubuntu/ and it worked for me. I don't know if snap doesn't install some component or something I'm very confused
Before reporting a bug, please see our FAQ in FAQ.md!
Description
when I give the command: docker build proxy/ -t whatsapp_proxy:1.0 I get the following error:
Sending build context to Docker daemon 18.43kB Step 1/27 : FROM haproxy:lts-alpine ---> cf4bb5e21f49 Step 2/27 : USER root ---> Using cache ---> 5e6f31115683 Step 3/27 : RUN apk --no-cache add curl openssl jq bash ---> Running in 30daa02b354f fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.17/main: temporary error (try again later) WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.17/community: temporary error (try again later) ERROR: unable to select packages: bash (no such package): required by: world[bash] curl (no such package): required by: world[curl] jq (no such package): required by: world[jq] openssl (no such package): required by: world[openssl] The command '/bin/sh -c apk --no-cache add curl openssl jq bash' returned a non-zero code: 4 also try with: docker build --no-cache proxy/ -t whatsapp-proxy:1.0 and i get the same error
Failed Step
- Build the proxy host container
More Details
operating system: ubuntu 22.4 x64 docker version: Docker version 20.10.17, build 100c70180f
fix isus
Hello, I think the problem is because I installed docker with the snap install docker command. I also tried it with the prebuilt image, but it gave me another error. I deleted everything and followed the steps of: https://docs.docker.com/engine/install/ubuntu/ and it worked for me. I don't know if snap doesn't install some component or something I'm very confused
Get rid of the docker just install Haproxy directly on your server. it's very straightforward. Like it : https://github.com/kingofnull/whatsapp-proxy-behind-forward-proxy
Personally I believe WhatsApp proxy is a piece of junk. They just copied their load balancing proxy config and introduce it as a feature. Which proxy needs 6 ports to run? Why it doesn't support ordinary Socks5 and HTTP? Why it doesn't support authentication? And finally it doesn't hide it's footprints , so your server will be blocked in a blink!