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"]