diff --git a/build.containerfile b/build.containerfile index 63da734..73243db 100755 --- a/build.containerfile +++ b/build.containerfile @@ -5,7 +5,7 @@ ARG arch=amd64 # Stage 1: Build and install mini_sudo FROM $arch/$image AS mini_sudo WORKDIR /tmp -COPY mini_sudo.c ./ +COPY misc/mini_sudo.c ./ RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install \ --no-install-recommends -y gcc libc-dev \ diff --git a/crossbuild.containerfile b/crossbuild.containerfile index 0d231e6..29290ab 100644 --- a/crossbuild.containerfile +++ b/crossbuild.containerfile @@ -6,7 +6,7 @@ ARG target_arch=arm64v8 # Stage 1: Build and install mini_sudo FROM $native_arch/$image AS mini_sudo WORKDIR /tmp -COPY mini_sudo.c ./ +COPY misc/mini_sudo.c ./ RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install \ --no-install-recommends -y gcc libc-dev \ diff --git a/mini_sudo.c b/misc/mini_sudo.c similarity index 100% rename from mini_sudo.c rename to misc/mini_sudo.c