Skip to content

Commit f6bc721

Browse files
author
Spencer Rinehart
committed
Sync and install packages in same command.
This helps keep the docker cache from interfering with repeated builds.
1 parent 0ee6aeb commit f6bc721

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ FROM nubs/phpunit
22

33
USER root
44

5-
RUN pacman --sync --refresh --noconfirm --noprogressbar --quiet
6-
RUN pacman --sync --noconfirm --noprogressbar --quiet php-mongo
5+
RUN pacman --sync --refresh --noconfirm --noprogressbar --quiet && pacman --sync --noconfirm --noprogressbar --quiet php-mongo
76

87
# Get around a bug with docker registry where the owner is root for the home
98
# user. See https://github.com/docker/docker/issues/5892.

0 commit comments

Comments
 (0)