feat: improve build system

This commit is contained in:
Evsyukov Denis 2024-02-08 20:52:49 +03:00
parent d3a2aa8fb0
commit a2e9c9952f
No known key found for this signature in database
6 changed files with 52 additions and 46 deletions

View file

@ -1,5 +1,5 @@
# Start by building the application.
FROM docker.io/golang:1.20 as build
FROM docker.io/golang:1.21 as build
WORKDIR /usr/src/wireproxy
COPY . .
@ -14,6 +14,6 @@ VOLUME [ "/etc/wireproxy"]
ENTRYPOINT [ "/usr/bin/wireproxy" ]
CMD [ "--config", "/etc/wireproxy/config" ]
LABEL org.opencontainers.image.title wireproxy
LABEL org.opencontainers.image.description "Wireguard client that exposes itself as a socks5 proxy"
LABEL org.opencontainers.image.licenses ISC
LABEL org.opencontainers.image.title="wireproxy"
LABEL org.opencontainers.image.description="Wireguard client that exposes itself as a socks5 proxy"
LABEL org.opencontainers.image.licenses="ISC"