File tree Expand file tree Collapse file tree 3 files changed +30
-2
lines changed
Expand file tree Collapse file tree 3 files changed +30
-2
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ builds:
3232 - 7
3333 goos :
3434 - linux
35+ - windows
36+ - darwin
3537 flags :
3638 - -trimpath
3739nfpms :
@@ -78,17 +80,34 @@ archives:
7880- replacements :
7981 Linux : linux
8082 386 : i386
83+ windows : ctl_windows
84+ darwin : ctl_darwin
8185 name_template : " {{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
8286 files :
8387 - LICENSE
8488 - README.md
8589 format : tar.gz
90+ format_overrides :
91+ - goos : windows
92+ format : zip
8693dockers :
87- - image_templates :
94+ - binaries :
95+ - trusted-cgi
96+ dockerfile : Dockerfile
97+ image_templates :
8898 - " reddec/trusted-cgi:{{ .Tag }}"
8999 - " reddec/trusted-cgi:v{{ .Major }}"
90100 - " reddec/trusted-cgi:v{{ .Major }}.{{ .Minor }}"
91101 - " reddec/trusted-cgi:latest"
102+
103+ - binaries :
104+ - trusted-cgi
105+ dockerfile : Dockerfile.minimal
106+ image_templates :
107+ - " reddec/trusted-cgi:{{ .Tag }}-light"
108+ - " reddec/trusted-cgi:v{{ .Major }}-light"
109+ - " reddec/trusted-cgi:v{{ .Major }}.{{ .Minor }}-light"
110+ - " reddec/trusted-cgi:latest-light"
92111checksum :
93112 name_template : ' checksums.txt'
94113snapshot :
Original file line number Diff line number Diff line change 11FROM nimlang/nim:alpine
2- RUN apk add --no-cache python3 py3-setuptools py3-virtualenv php nodejs npm make
2+ RUN apk add --no-cache python3 py3-setuptools py3-virtualenv php nodejs npm make git
33EXPOSE 3434
44VOLUME /data
55WORKDIR /data
Original file line number Diff line number Diff line change 1+ FROM alpine:3.11
2+ RUN apk add --no-cache make
3+ EXPOSE 3434
4+ VOLUME /data
5+ WORKDIR /data
6+ ENV INITIAL_ADMIN_PASSWORD admin
7+ ENV BIND 0.0.0.0:3434
8+ COPY trusted-cgi /
9+ ENTRYPOINT ["/trusted-cgi", "--disable-chroot"]
You can’t perform that action at this time.
0 commit comments