mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 09:53:02 -04:00
Consolidate on single layer
This commit is contained in:
+6
-2
@@ -46,6 +46,11 @@ RUN \
|
|||||||
make && \
|
make && \
|
||||||
make install DESTDIR=/root-layer
|
make install DESTDIR=/root-layer
|
||||||
|
|
||||||
|
FROM scratch as consolidate-builds
|
||||||
|
|
||||||
|
COPY --from=buildstage-x86_64 /root-layer/ /par2cmdline-turbo/x86_64
|
||||||
|
COPY --from=buildstage-aarch64 /root-layer/ /par2cmdline-turbo/aarch64
|
||||||
|
COPY root/ /
|
||||||
|
|
||||||
## Single layer deployed image ##
|
## Single layer deployed image ##
|
||||||
FROM scratch
|
FROM scratch
|
||||||
@@ -53,5 +58,4 @@ FROM scratch
|
|||||||
LABEL maintainer="thespad"
|
LABEL maintainer="thespad"
|
||||||
|
|
||||||
# Add files from buildstage
|
# Add files from buildstage
|
||||||
COPY --from=buildstage-x86_64 /root-layer/ /par2cmdline-turbo/x86_64
|
COPY --from=consolidate-builds / /
|
||||||
COPY --from=buildstage-aarch64 /root-layer/ /par2cmdline-turbo/aarch64
|
|
||||||
|
|||||||
Reference in New Issue
Block a user