From 54fcf163b023c8a9ad403b70b8c4d05fbdd811fd Mon Sep 17 00:00:00 2001 From: 3x3cut0r Date: Thu, 21 Apr 2022 08:59:44 +0200 Subject: [PATCH] Update Dockerfile docker build works locally but encounters an error in a buildx gitaction at "COPY assets /", see here: https://github.com/docker/buildx/issues/150 -> this is because /etc/service is not empty or a symbolic link we can fix this by removing /etc/service just before the COPY command as we copy the service folder anyways becuse it is in the assists folder. this will fix the issue #5: https://github.com/AvesIT/filesender-container/issues/5 --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 63828a9..7e5712d 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -55,7 +55,7 @@ RUN apt-get update && \ apt-get install -y --no-install-recommends nginx runit netcat-traditional msmtp-mta && \ apt-get autoremove -y && \ apt-get clean && \ - rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /etc/service COPY assets /