add cleanup
Some checks failed
perso/unrar-arm64/pipeline/head There was a failure building this commit

This commit is contained in:
Julien Cabillot 2021-01-04 14:06:51 -05:00
parent c4cb23102a
commit b965572f37

View File

@ -1,6 +1,10 @@
FROM "alpine:latest" FROM "alpine:latest"
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>" LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
RUN apk add --no-cache unrar RUN apk add --no-cache unrar && \
rm -rf /usr/lib/ruby/gems/*/cache/* \
/var/cache/apk/* \
/tmp/* \
/var/tmp/*
ENTRYPOINT [ "/bin/sh", "-c", "cd /data && /usr/bin/unrar" ] ENTRYPOINT [ "/bin/sh", "-c", "cd /data && /usr/bin/unrar" ]