nginx-proxy-confs: Inital commit

This commit is contained in:
Roxedus
2020-12-11 18:12:27 +01:00
parent d1dc6e5858
commit cd4f462e8f
9 changed files with 241 additions and 47 deletions
+26 -3
View File
@@ -1,6 +1,29 @@
FROM ghcr.io/linuxserver/baseimage-alpine:3.12 as grab-stage
RUN \
apk add --no-cache --upgrade \
curl \
tar && \
mkdir -p /root/defaults/proxy-confs && \
curl -o \
/tmp/proxy.tar.gz -L \
"https://github.com/linuxserver/reverse-proxy-confs/tarball/master" && \
tar xf \
/tmp/proxy.tar.gz -C \
/root/defaults/proxy-confs \
--strip-components=1 \
--exclude=linux*/.gitattributes \
--exclude=linux*/.github \
--exclude=linux*/.gitignore \
--exclude=linux*/LICENSE
# copy local files
COPY root/ root/
ADD https://raw.githubusercontent.com/linuxserver/docker-swag/master/root/defaults/proxy.conf /root/defaults/proxy.conf
FROM scratch
LABEL maintainer="username"
LABEL maintainer="Roxedus"
# copy local files
COPY root/ /
# copy proxy-confs
COPY --from=grab-stage root/ /