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
a27a558b
Commit
a27a558b
authored
2 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
#20
Add PHP 8.2 and bump some tool versions
parent
c830466a
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!36
Merging develop into main [MINOR_VERSION]
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
Dockerfile
+10
-5
10 additions, 5 deletions
Dockerfile
with
12 additions
and
7 deletions
.gitlab-ci.yml
+
2
−
2
View file @
a27a558b
...
...
@@ -14,14 +14,14 @@ php:
stage
:
build
parallel
:
matrix
:
-
ALPINE
:
'
3.11'
PHP
:
'
7.3'
-
ALPINE
:
'
3.11'
PHP
:
'
7.4'
-
ALPINE
:
'
3.12'
PHP
:
'
8.0'
-
ALPINE
:
'
3.15'
PHP
:
'
8.1'
-
ALPINE
:
'
3.17'
PHP
:
'
8.2'
script
:
-
docker build --pull --build-arg ALPINE_VERSION=${ALPINE} --build-arg PHP_MAJOR_VERSION=${PHP} --build-arg VERSION=${VERSION} -t ${CI_REGISTRY_IMAGE}/php-${PHP}:${VERSION} .
-
docker push ${CI_REGISTRY_IMAGE}/php-${PHP}:${VERSION}
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
10
−
5
View file @
a27a558b
...
...
@@ -12,13 +12,13 @@ LABEL com.example.vendor="LakeDrops" \
ARG
ALPINE_VERSION
ARG
PHP_MAJOR_VERSION
ARG
compose_version=2.
4.1
ARG
glibc_version=2.
28
-r0
ARG
compose_version=2.
16.0
ARG
glibc_version=2.
35
-r0
ARG
apkArch
ARG
dockerArch
ARG
DOCKER_CHANNEL=stable
ARG
DOCKER_VERSION=2
0.10.9
ARG
GIT_EXTRAS_VERSION=6.
3
.0
ARG
DOCKER_VERSION=2
3.0.0
ARG
GIT_EXTRAS_VERSION=6.
5
.0
ARG
AHOY_VERSION=2.0.2
ARG
GLAB_VERSION=1.25.3
...
...
@@ -72,6 +72,11 @@ RUN echo 'hosts: files dns' > /etc/nsswitch.conf && \
wget
-q
https://gitlab.com/gitlab-org/cli/-/releases/v
${
GLAB_VERSION
}
/downloads/glab_
${
GLAB_VERSION
}
_Linux_x86_64.apk
;
\
apk add
--no-cache
--allow-untrusted
glab_
${
GLAB_VERSION
}
_Linux_x86_64.apk
;
\
rm
glab_
${
GLAB_VERSION
}
_Linux_x86_64.apk
;
\
elif
[
"
${
ALPINE_VERSION
}
"
=
"3.17"
]
;
then
\
apk add
--no-cache
mandoc py3-pip gettext bat
;
\
wget
-q
https://gitlab.com/gitlab-org/cli/-/releases/v
${
GLAB_VERSION
}
/downloads/glab_
${
GLAB_VERSION
}
_Linux_x86_64.apk
;
\
apk add
--no-cache
--allow-untrusted
glab_
${
GLAB_VERSION
}
_Linux_x86_64.apk
;
\
rm
glab_
${
GLAB_VERSION
}
_Linux_x86_64.apk
;
\
else
\
apk add
--no-cache
mdocml-apropos
;
\
python
-m
pip
install
--upgrade
pip
;
\
...
...
@@ -89,7 +94,7 @@ RUN echo 'hosts: files dns' > /etc/nsswitch.conf && \
\
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
&&
\
apk add
--no-cache
glibc-
${
glibc_version
}
.apk
&&
\
apk add
--no-cache
--force-overwrite
glibc-
${
glibc_version
}
.apk
&&
\
rm
glibc-
${
glibc_version
}
.apk
&&
\
ln
-sf
/lib/libz.so.1 /usr/glibc-compat/lib/
&&
\
ln
-sf
/lib/libc.musl-x86_64.so.1 /usr/glibc-compat/lib
&&
\
...
...
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