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.
This commit is contained in:
Hemna 2021-02-13 10:41:43 -05:00
parent b6ba90de53
commit 2d5bb85071
1 changed files with 1 additions and 1 deletions

View File

@ -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