mirror of
https://github.com/craigerl/aprsd.git
synced 2024-09-30 17:16:44 -04: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:
parent
b6ba90de53
commit
2d5bb85071
@ -39,7 +39,7 @@ RUN git clone -b $APRSD_BRANCH $APRSD $INSTALL/aprsd
|
|||||||
RUN cd $INSTALL/aprsd && pip3 install .
|
RUN cd $INSTALL/aprsd && pip3 install .
|
||||||
RUN which aprsd
|
RUN which aprsd
|
||||||
USER root
|
USER root
|
||||||
RUN mkdir /config
|
RUN mkdir -p /config
|
||||||
RUN aprsd sample-config > /config/aprsd.yml
|
RUN aprsd sample-config > /config/aprsd.yml
|
||||||
RUN chown -R $APRS_USER:$APRS_USER /config
|
RUN chown -R $APRS_USER:$APRS_USER /config
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user