From a05aaa8b0055838fbf567287ac02e46e6979c79d Mon Sep 17 00:00:00 2001 From: David Parrish Date: Fri, 27 Nov 2015 20:26:08 -0500 Subject: [PATCH] Add 'sync' to Dockerfile to avoid 'Text file busy' error when building image --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 27ced08..22dd65e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,4 +7,4 @@ MAINTAINER Hadrien Mary 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