From ba20024783039d9e594a9529f1798911b738cf09 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Sat, 8 Apr 2017 23:32:11 +0200 Subject: [PATCH] TASK: Migrate to smaller alpine images * To have faster downloads, smaller images, simpler installs --- .gitlab-ci.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 38fb4e2..183cfe4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,11 +1,5 @@ before_script: - - > - apt-get update - && apt-get install -y - make - wget - --no-install-recommends - && rm -r /var/lib/apt/lists/* + - apk add --no-cache make wget git - make install-composer - make install @@ -13,13 +7,13 @@ stages: - test test:5.6: - image: php:5.6 + image: php:5.6-alpine stage: test script: - ./vendor/bin/phpunit test:7.0: - image: php:7.0 + image: php:7.0-alpine stage: test script: - ./vendor/bin/phpunit