diff --git a/Dockerfile.armv6 b/Dockerfile.armv6 index 9552ce2..4cf72a3 100644 --- a/Dockerfile.armv6 +++ b/Dockerfile.armv6 @@ -6,8 +6,7 @@ WORKDIR /go/src/github.com/serjs/socks5 COPY . . RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-s' -o ./socks5 -FROM SCRATCH +FROM scratch COPY --from=builder /go/src/github.com/serjs/socks5/socks5 / COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ -COPY --from=builder /go/src/github.com/serjs/socks5/socks5 / ENTRYPOINT ["/socks5"]