Skip to content

Commit

Permalink
rm -rf /rootfs/bin /rootfs/sbin;
Browse files Browse the repository at this point in the history
  • Loading branch information
sam#gemmi-win10 committed Nov 4, 2023
1 parent 4be75da commit 44c552b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compile/build-alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ COPY --from=tiger ${STATIC} /rootfs${STATIC}
COPY --from=xrdp ${STATIC} /rootfs${STATIC}

# clear lib,share/man; create links
RUN mkdir -p /rootfs/bin /rootfs/sbin; \
RUN rm -rf /rootfs/bin /rootfs/sbin; mkdir -p /rootfs/bin /rootfs/sbin; \
find /rootfs/usr/local/static -type d |egrep "/share/man$|xrdp/lib$" | \
while read one; do du -sh $one; rm -rf $one; done; \
\
Expand Down

0 comments on commit 44c552b

Please sign in to comment.