Add 'sync' to Dockerfile to avoid 'Text file busy' error when building image

This commit is contained in:
David Parrish 2015-11-27 20:26:08 -05:00
parent f913b7138d
commit a05aaa8b00

View file

@ -7,4 +7,4 @@ MAINTAINER Hadrien Mary <hadrien.mary@gmail.com>
COPY . /app/
# Install simp_le program
RUN chmod +rx /app/install_simp_le.sh && /app/install_simp_le.sh && rm -f /app/install_simp_le.sh
RUN chmod +rx /app/install_simp_le.sh && sync && /app/install_simp_le.sh && rm -f /app/install_simp_le.sh