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
cd40bc40
Commit
cd40bc40
authored
5 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
l3d#34
Add support for PHP 7.3
parent
bf9af4c0
No related branches found
No related tags found
No related merge requests found
Pipeline
#12154
passed
5 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+8
-0
8 additions, 0 deletions
.gitlab-ci.yml
Dockerfile
+6
-1
6 additions, 1 deletion
Dockerfile
with
14 additions
and
1 deletion
.gitlab-ci.yml
+
8
−
0
View file @
cd40bc40
...
...
@@ -24,3 +24,11 @@ php-7.2:
-
docker push $CI_REGISTRY_IMAGE:php-7.2
only
:
-
master
php-7.3
:
stage
:
build
script
:
-
docker build --pull --build-arg ALPINE_VERSION=3.11 --build-arg PHP_VERSION=7.3 -t $CI_REGISTRY_IMAGE:php-7.3 .
-
docker push $CI_REGISTRY_IMAGE:php-7.3
only
:
-
master
This diff is collapsed.
Click to expand it.
Dockerfile
+
6
−
1
View file @
cd40bc40
FROM
alpine:3.8
ARG
ALPINE_VERSION
FROM
alpine:${ALPINE_VERSION}
LABEL
com.example.vendor="LakeDrops" \
maintainer="juergen.haas@lakedrops.com" \
...
...
@@ -87,6 +89,9 @@ RUN echo 'hosts: files dns' > /etc/nsswitch.conf && \
if
[
"
${
PHP_VERSION
}
"
=
"7.2"
]
;
then
\
apk add
--no-cache
php7-sodium
;
\
fi
&&
\
if
[
"
${
PHP_VERSION
}
"
=
"7.3"
]
;
then
\
apk add
--no-cache
php7-sodium
;
\
fi
&&
\
rm
/etc/apk/repositories
&&
\
mv
/etc/apk/repositories.org /etc/apk/repositories
&&
\
apk update
&&
\
...
...
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