Description
`
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
Merge pull request #48 from serjs/dependabot/go_modules/golang.org/x/net-0.17.0
Bump golang.org/x/net from 0.1.0 to 0.17.0
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`
Activity