From f86a28f3a65d4464a9495b6f9b9e8be2cd3a827e Mon Sep 17 00:00:00 2001 From: xZero707 Date: Sun, 19 May 2024 21:01:52 +0200 Subject: [PATCH] Move wp-* utils to it's own space in src/ --- Dockerfile | 3 +++ {rootfs/usr/local/bin => src/wp-utils}/wp-apply-patch | 0 {rootfs/usr/local/bin => src/wp-utils}/wp-plugin | 0 {rootfs/usr/local/bin => src/wp-utils}/wp-theme | 0 4 files changed, 3 insertions(+) rename {rootfs/usr/local/bin => src/wp-utils}/wp-apply-patch (100%) rename {rootfs/usr/local/bin => src/wp-utils}/wp-plugin (100%) rename {rootfs/usr/local/bin => src/wp-utils}/wp-theme (100%) diff --git a/Dockerfile b/Dockerfile index f3d0220..73acd87 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,9 @@ FROM scratch AS rootfs # Install wp-cli COPY --from=wp-cli ["/usr/local/bin/wp", "/usr/local/bin/wp-cli"] +# Install wp-utils +COPY ["./src/wp-utils/", "/usr/local/bin/"] + # Overlay COPY ["./rootfs/", "/"] diff --git a/rootfs/usr/local/bin/wp-apply-patch b/src/wp-utils/wp-apply-patch similarity index 100% rename from rootfs/usr/local/bin/wp-apply-patch rename to src/wp-utils/wp-apply-patch diff --git a/rootfs/usr/local/bin/wp-plugin b/src/wp-utils/wp-plugin similarity index 100% rename from rootfs/usr/local/bin/wp-plugin rename to src/wp-utils/wp-plugin diff --git a/rootfs/usr/local/bin/wp-theme b/src/wp-utils/wp-theme similarity index 100% rename from rootfs/usr/local/bin/wp-theme rename to src/wp-utils/wp-theme