mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-06-06 07:37:21 +02:00
feature: golang specific image
smaller size
This commit is contained in:
parent
dae510ae0a
commit
7d91e02dc9
@ -1,7 +1,6 @@
|
|||||||
FROM alpine:latest
|
FROM docker.io/golang:1.21rc3-alpine3.18
|
||||||
|
|
||||||
RUN apk update && apk upgrade &&\
|
RUN apk add --no-cache bash curl jq git sudo
|
||||||
apk add bash curl jq git go sudo
|
|
||||||
|
|
||||||
RUN mkdir -p /zoraxy/source/ &&\
|
RUN mkdir -p /zoraxy/source/ &&\
|
||||||
mkdir -p /zoraxy/config/
|
mkdir -p /zoraxy/config/
|
||||||
@ -14,7 +13,7 @@ COPY notifier.sh /zoraxy/
|
|||||||
RUN chmod 755 /zoraxy/ &&\
|
RUN chmod 755 /zoraxy/ &&\
|
||||||
chmod +x /zoraxy/entrypoint.sh
|
chmod +x /zoraxy/entrypoint.sh
|
||||||
|
|
||||||
ENV DOCKER="2.0.0"
|
ENV DOCKER="2.1.0"
|
||||||
ENV NOTIFS="1"
|
ENV NOTIFS="1"
|
||||||
|
|
||||||
ENV VERSION="latest"
|
ENV VERSION="latest"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user