Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GitLab Drupal CI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Docker
GitLab Drupal CI
Commits
88666589
Commit
88666589
authored
6 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Build images for PHP version 7.0, 7.1 and 7.2
parent
75d804c6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#5861
passed
6 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+17
-1
17 additions, 1 deletion
.gitlab-ci.yml
php-7.0/Dockerfile
+0
-1
0 additions, 1 deletion
php-7.0/Dockerfile
with
17 additions
and
2 deletions
.gitlab-ci.yml
+
17
−
1
View file @
88666589
before_script
:
-
docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
build-master
:
php-7.0
:
stage
:
build
script
:
-
docker build --pull -t $CI_REGISTRY_IMAGE:php-7.0 ./php-7.0
-
docker push $CI_REGISTRY_IMAGE:php-7.0
only
:
-
master
php-7.1
:
stage
:
build
script
:
-
docker build --pull -t $CI_REGISTRY_IMAGE:php-7.1 ./php-7.1
-
docker push $CI_REGISTRY_IMAGE:php-7.1
only
:
-
master
php-7.2
:
stage
:
build
script
:
-
docker build --pull -t $CI_REGISTRY_IMAGE:php-7.2 ./php-7.2
-
docker push $CI_REGISTRY_IMAGE:php-7.2
only
:
-
master
This diff is collapsed.
Click to expand it.
php-7.0/Dockerfile
+
0
−
1
View file @
88666589
...
...
@@ -71,7 +71,6 @@ RUN mkdir -p /root/.ssh && \
bash fish python nodejs git unzip
\
php7 php7-phar php7-json php7-dom php7-gd php7-mbstring php7-openssl
\
php7-pdo php7-curl php7-xml php7-zip php7-session php7-ctype
&&
\
echo
"php7-tokenizer php7-simplexml php7-xmlwriter"
&&
\
\
wget
-q
https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub
-O
/etc/apk/keys/sgerrand.rsa.pub
&&
\
wget
-q
https://github.com/sgerrand/alpine-pkg-glibc/releases/download/
${
glibc_version
}
/glibc-
${
glibc_version
}
.apk
&&
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment