UPD: changes alpine version to latest

This commit is contained in:
KF 2023-09-12 17:54:23 +08:00
parent f41cf40a62
commit 59fdd9ed23
Signed by: xpk
GPG Key ID: CD4FF6793F09AB86

View File

@ -1,8 +1,10 @@
FROM alpine:3.16 FROM alpine:latest
LABEL description="Dante socks5 server" LABEL description="Dante socks5 server"
LABEL maintainer="racken@one27.cf" LABEL maintainer="xpk@headdesk.me"
ENV container docker ENV container docker
RUN apk update; apk add tini dante-server dante RUN apk update; apk add tini dante-server dante
#RUN addgroup -g 3000 ctnuser && adduser -u 3000 -G ctnuser -D ctnuser
#USER ctnuser
COPY sockd.conf /etc/sockd.conf COPY sockd.conf /etc/sockd.conf
ENTRYPOINT ["/sbin/tini", "--"] ENTRYPOINT ["/sbin/tini", "--"]
CMD ["/usr/sbin/sockd"] CMD ["/usr/sbin/sockd"]