make it rm -f

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L. 2024-07-12 10:36:14 +02:00
parent 22fbd73d92
commit e60dd31a35
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ RUN set -ex; \
apk --no-cache del openssl; \ apk --no-cache del openssl; \
\ \
# Get rid of unused binaries # Get rid of unused binaries
rm /usr/local/bin/gosu /usr/local/bin/su-exec; rm -f /usr/local/bin/gosu /usr/local/bin/su-exec;
VOLUME /mnt/data VOLUME /mnt/data

View file

@ -12,7 +12,7 @@ RUN set -ex; \
echo "root:$(openssl rand -base64 12)" | chpasswd; \ echo "root:$(openssl rand -base64 12)" | chpasswd; \
\ \
# Get rid of unused binaries # Get rid of unused binaries
rm /usr/local/bin/gosu; rm -f /usr/local/bin/gosu;
USER redis USER redis
ENTRYPOINT ["/start.sh"] ENTRYPOINT ["/start.sh"]