From 115f4814699734a72874f015dd07f73a7aab846a Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 9 Feb 2019 00:18:43 +0100 Subject: [PATCH] Don't fail when /opt exists Signed-off-by: Knut Ahlers --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e7b4c2c..427ff94 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ ENV OPENFIRE_VERSION=4_2_1 RUN set -ex \ && apk --no-cache add curl openjdk8 ca-certificates bash \ - && mkdir /opt \ + && mkdir -p /opt \ && curl -sSfL "https://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_${OPENFIRE_VERSION}.tar.gz" | \ tar -xz -C /opt \ && curl -sSfLo /usr/local/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.1/dumb-init_1.2.1_amd64 \