From 83be432586fa2d0a1a31eaf32e89e538d1821d99 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Mon, 24 Jul 2023 20:38:08 +0530 Subject: [PATCH] this might work --- package/aur/Dockerfile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/package/aur/Dockerfile b/package/aur/Dockerfile index 32e3b38..261cfd5 100644 --- a/package/aur/Dockerfile +++ b/package/aur/Dockerfile @@ -14,19 +14,13 @@ RUN useradd -m builder && \ RUN mkdir -p /home/builder/.ssh && \ touch /home/builder/.ssh/known_hosts -COPY . /git_src +COPY . /home/builder/packaging_scripts -RUN ls /git_src - -RUN cp /git_src/package/aur/ssh_config /home/builder/.ssh/config +RUN mv /home/builder/packaging_scripts/ssh_config /home/builder/.ssh/config RUN chown -R builder:builder /home/builder/.ssh && \ chmod 600 /home/builder/.ssh/* -R -RUN mkdir /home/builder/packaging_scripts && cd /git_src - -COPY publish.sh utils.sh *.PKGBUILD /home/builder/packaging_scripts - USER builder WORKDIR /home/builder