-
-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Built image fails to run with "SetIPWhitelist undefined" error #61
Comments
facing the same issue |
This dependabot PR broke it: #48 For some reason the dependency update also removed the needed changes from go-socks5. Possibly because github thinks the file is generated? |
leha-bot
added a commit
to leha-bot/playground
that referenced
this issue
Jun 13, 2024
Any help on this ? |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
`
From commit c30bfd3 (HEAD -> master, origin/master, origin/HEAD)
Merge: d034754 93554c0
Author: Sergey Bogatyrets [email protected]
Date: Mon Feb 26 07:09:16 2024 +0300
docker-compose -f docker-compose.build.yml up -d
Building socks5-build
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
Sending build context to Docker daemon 2.504MB
Step 1/9 : ARG GOLANG_VERSION="1.19.1"
Step 2/9 : FROM golang:$GOLANG_VERSION-alpine as builder
1.19.1-alpine: Pulling from library/golang
213ec9aee27d: Pull complete
5299e6f78605: Pull complete
1cab0e43db0a: Pull complete
6569e6eb40cd: Pull complete
601c7710d0ea: Pull complete
Digest: sha256:d475cef843a02575ebdcb1416d98cd76bab90a5ae8bc2cd15f357fc08b6a329f
Status: Downloaded newer image for golang:1.19.1-alpine
---> 5dd973625d31
Step 3/9 : RUN apk --no-cache add tzdata
---> Running in 2eeaddb23f69
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
(1/1) Installing tzdata (2024a-r0)
Executing busybox-1.35.0-r17.trigger
OK: 9 MiB in 16 packages
Removing intermediate container 2eeaddb23f69
---> b79876ef213a
Step 4/9 : WORKDIR /go/src/github.com/serjs/socks5
---> Running in eeeabdf85c21
Removing intermediate container eeeabdf85c21
---> 9849b58fb02b
Step 5/9 : COPY . .
---> a01919e73682
Step 6/9 : RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-s' -o ./socks5
---> Running in 57662840a16a
github.com/serjs/socks5-server
./server.go:56:10: server.SetIPWhitelist undefined (type *socks5.Server has no field or method SetIPWhitelist)
The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-s' -o ./socks5' returned a non-zero code: 2
ERROR: Service 'socks5-build' failed to build : Build failed`
The text was updated successfully, but these errors were encountered: