1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-11-25 09:28:38 -05:00

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

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