From e60dd31a355818b4acfbb99589888822a2349e40 Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Fri, 12 Jul 2024 10:36:14 +0200 Subject: [PATCH] make it `rm -f` Signed-off-by: Simon L. --- Containers/postgresql/Dockerfile | 2 +- Containers/redis/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Containers/postgresql/Dockerfile b/Containers/postgresql/Dockerfile index a4ab0fc5..ff8de132 100644 --- a/Containers/postgresql/Dockerfile +++ b/Containers/postgresql/Dockerfile @@ -35,7 +35,7 @@ RUN set -ex; \ apk --no-cache del openssl; \ \ # 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 diff --git a/Containers/redis/Dockerfile b/Containers/redis/Dockerfile index de776cbc..d8a97f33 100644 --- a/Containers/redis/Dockerfile +++ b/Containers/redis/Dockerfile @@ -12,7 +12,7 @@ RUN set -ex; \ echo "root:$(openssl rand -base64 12)" | chpasswd; \ \ # Get rid of unused binaries - rm /usr/local/bin/gosu; + rm -f /usr/local/bin/gosu; USER redis ENTRYPOINT ["/start.sh"]