From ac9d65150f89fe24bba036845c22982e34d9eadd Mon Sep 17 00:00:00 2001 From: Gerard Braad Date: Tue, 13 May 2025 16:28:40 +0800 Subject: [PATCH] Do not use RUN statement (only rely on COPY for busybox image) This would otherwise need the image to run. If another architecture is used, it prevents this image having to start under emulation. Signed-off-by: Gerard Braad --- images/Dockerfile | 1 - images/udhcpc.sh | 0 2 files changed, 1 deletion(-) mode change 100644 => 100755 images/udhcpc.sh diff --git a/images/Dockerfile b/images/Dockerfile index c32b773c..e83a7975 100644 --- a/images/Dockerfile +++ b/images/Dockerfile @@ -5,6 +5,5 @@ RUN make FROM busybox COPY images/udhcpc.sh /usr/share/udhcpc/default.script -RUN chmod +x /usr/share/udhcpc/default.script COPY --from=build /opt/app-root/src/bin/gvforwarder . ENTRYPOINT ["/gvforwarder"] diff --git a/images/udhcpc.sh b/images/udhcpc.sh old mode 100644 new mode 100755