Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
docker build works locally but encounters an error in a buildx gitaction at "COPY assets /", see here: docker/buildx#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 AvesIT#5: AvesIT#5
  • Loading branch information
3x3cut0r authored Apr 21, 2022
1 parent 3dcb7d9 commit 54fcf16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 /

Expand Down

0 comments on commit 54fcf16

Please sign in to comment.