Update Dockerfile

This commit is contained in:
Alexandre
2024-03-01 15:32:46 +01:00
committed by GitHub
parent 0f11717312
commit 4868236088

View File

@@ -20,7 +20,7 @@ FROM golang:$GOLANG_VERSION-alpine as builder
RUN apk --no-cache add tzdata
WORKDIR /go/src/github.com/serjs/socks5
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-s' -o ./socks5
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-s' -o ./socks5 || true
ARG BUILD_VERSION
FROM ghcr.io/hassio-addons/base:15.0.7