[Build] Filelock added to avoid to compile the same firmware many tim… (#4333)

* [Build] Filelock added to avoid to compile the same firmware many times simultaneously
This commit is contained in:
Bertrand Songis
2017-01-30 09:16:18 +01:00
committed by Damjan Adamic
parent cc8de81128
commit 11c20a5c2c
2 changed files with 20 additions and 8 deletions
+4 -2
View File
@@ -20,7 +20,10 @@ RUN apt-get update && \
qttools5-dev-tools \
software-properties-common \
wget \
zip
zip \
python-pip
RUN python -m pip install filelock
RUN wget -q https://launchpad.net/gcc-arm-embedded/4.7/4.7-2013-q3-update/+download/gcc-arm-none-eabi-4_7-2013q3-20130916-linux.tar.bz2 && \
tar xjf gcc-arm-none-eabi-4_7-2013q3-20130916-linux.tar.bz2 && \
@@ -37,4 +40,3 @@ VOLUME ["/opentx"]
ENV PATH $PATH:/opt/gcc-arm-none-eabi/bin:/opentx/code/radio/util
ARG OPENTX_VERSION_SUFFIX=
ENV OPENTX_VERSION_SUFFIX ${OPENTX_VERSION_SUFFIX}