Skip to content

Commit 778b43d

Browse files
authored
Merge pull request #58 from bar/patch-1
Use `COPY --from` to install composer
2 parents 3bca884 + 67c37e8 commit 778b43d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ FROM hhvm/hhvm:4.128.2
33
RUN apt update -y
44
RUN DEBIAN_FRONTEND=noninteractive apt install -y php-cli zip unzip openssh-client
55

6-
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
6+
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
77
ENV HHVM_VERSION=4.128.2
88

9-
ADD . /app
109
WORKDIR /app
10+
COPY . /app

0 commit comments

Comments
 (0)