From 2d5bb85071138813ec261d478a5a5168e2b5cfc8 Mon Sep 17 00:00:00 2001 From: Hemna Date: Sat, 13 Feb 2021 10:41:43 -0500 Subject: [PATCH] Dockerfile: Make creation of /config quiet failure This patch adds -p to mkdir command in the Dockerfile to quiet the failure if /config already exists. --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 5111fa5..761ca76 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -39,7 +39,7 @@ RUN git clone -b $APRSD_BRANCH $APRSD $INSTALL/aprsd RUN cd $INSTALL/aprsd && pip3 install . RUN which aprsd USER root -RUN mkdir /config +RUN mkdir -p /config RUN aprsd sample-config > /config/aprsd.yml RUN chown -R $APRS_USER:$APRS_USER /config