Skip to content

Commit 0a7c468

Browse files
committed
sync before executing next command
1 parent 313795f commit 0a7c468

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

master/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ MAINTAINER drupal-docker
44
ADD http://files.drush.org/drush.phar /usr/local/bin/drush
55

66
RUN apt-get update && apt-get install -y mysql-client \
7-
&& chmod a+x /usr/local/bin/drush \
8-
&& /usr/local/bin/drush core-status -y \
7+
&& chmod a+x /usr/local/bin/drush; sync \
8+
&& drush core-status -y \
99
&& drush init -y \
10-
&& rm -rf /var/lib/apt/lists/*
10+
&& rm -rf /var/lib/apt/lists/*
1111

1212
CMD ["drush", "core-cli"]

0 commit comments

Comments
 (0)