Use scratch

Signed-off-by: aptalca <541623+aptalca@users.noreply.github.com>
This commit is contained in:
aptalca
2024-04-18 21:09:58 -04:00
committed by GitHub
parent 13f9fe8c00
commit d21ef276da
+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/ /