Merge pull request #884 from linuxserver/swag-geoip2influx-scratch

swag-geoip2influx: Use scratch
This commit is contained in:
aptalca
2024-04-19 00:32:19 -04:00
committed by GitHub
+2 -2
View File
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1
FROM ghcr.io/linuxserver/baseimage-alpine:3.17 as buildstage
FROM scratch as buildstage
ADD https://raw.githubusercontent.com/gilbN/geoip2influx/master/geoip2influx.py /root-layer/geoip2influx/geoip2influx.py
COPY root/ /root-layer/
@@ -11,4 +11,4 @@ FROM scratch
LABEL maintainer="GilbN"
# Add files from buildstage
COPY --from=buildstage /root-layer/ /
COPY --from=buildstage /root-layer/ /