From a4d03785be671d5e696efb6ec8ea87c0e1a97b7a Mon Sep 17 00:00:00 2001 From: Eric Nemchik Date: Tue, 4 Oct 2022 20:43:51 -0500 Subject: [PATCH] mkdir with -p --- Dockerfile | 2 +- Dockerfile.aarch64 | 2 +- Dockerfile.armhf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index cb01742..7fc81fe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,7 +43,7 @@ RUN \ LYCHEE_VERSION=$(curl -sX GET "https://api.github.com/repos/LycheeOrg/Lychee/releases/latest" \ | awk '/tag_name/{print $4;exit}' FS='[""]'); \ fi && \ - mkdir /app/www && \ + mkdir -p /app/www && \ git clone --recurse-submodules https://github.com/LycheeOrg/Lychee.git /app/www && \ cd /app/www && \ git checkout "${LYCHEE_VERSION}" && \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index e9e4ebc..cd6ec12 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -43,7 +43,7 @@ RUN \ LYCHEE_VERSION=$(curl -sX GET "https://api.github.com/repos/LycheeOrg/Lychee/releases/latest" \ | awk '/tag_name/{print $4;exit}' FS='[""]'); \ fi && \ - mkdir /app/www && \ + mkdir -p /app/www && \ git clone --recurse-submodules https://github.com/LycheeOrg/Lychee.git /app/www && \ cd /app/www && \ git checkout "${LYCHEE_VERSION}" && \ diff --git a/Dockerfile.armhf b/Dockerfile.armhf index d56f7d1..c77e195 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -43,7 +43,7 @@ RUN \ LYCHEE_VERSION=$(curl -sX GET "https://api.github.com/repos/LycheeOrg/Lychee/releases/latest" \ | awk '/tag_name/{print $4;exit}' FS='[""]'); \ fi && \ - mkdir /app/www && \ + mkdir -p /app/www && \ git clone --recurse-submodules https://github.com/LycheeOrg/Lychee.git /app/www && \ cd /app/www && \ git checkout "${LYCHEE_VERSION}" && \