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
073d321b
Commit
073d321b
authored
2 years ago
by
jurgenhaas
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' into 'main'
Merging develop into main See merge request
!38
parents
4799ece1
4bb1275a
No related branches found
No related tags found
1 merge request
!38
Merging develop into main
Pipeline
#772423
passed
2 years ago
Stage: build
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
Dockerfile
+8
-24
8 additions, 24 deletions
Dockerfile
with
9 additions
and
25 deletions
.gitlab-ci.yml
+
1
−
1
View file @
073d321b
...
...
@@ -14,7 +14,7 @@ php:
stage
:
build
parallel
:
matrix
:
-
ALPINE
:
'
3.1
1
'
-
ALPINE
:
'
3.1
2
'
PHP
:
'
7.4'
-
ALPINE
:
'
3.12'
PHP
:
'
8.0'
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
8
−
24
View file @
073d321b
...
...
@@ -62,32 +62,12 @@ RUN echo 'hosts: files dns' > /etc/nsswitch.conf && \
apk add
--no-cache
openssh wget make patch bash fish zsh python3 git git-lfs unzip acl libpng-dev libzip-dev
sudo
jq nano rsync
&&
\
ln
-sf
python3 /usr/bin/python
&&
\
ln
-sf
pip3 /usr/bin/pip
&&
\
if
[
"
${
ALPINE_VERSION
}
"
=
"3.11"
]
;
then
\
apk add
--no-cache
mdocml-apropos gettext
;
\
python
-m
pip
install
--upgrade
pip
;
\
elif
[
"
${
ALPINE_VERSION
}
"
=
"3.12"
]
;
then
\
apk add
--no-cache
mandoc py3-pip gettext
;
\
elif
[
"
${
ALPINE_VERSION
}
"
=
"3.15"
]
;
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
;
\
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
;
\
apk add
--no-cache
mandoc py3-pip gettext
&&
\
if
[
"
${
ALPINE_VERSION
}
"
!=
"3.12"
]
;
then
\
apk add
--no-cache
bat
;
\
fi
&&
\
pip
install
requests semver
&&
\
\
if
[
"
${
PHP_MAJOR_VERSION
}
"
=
"7.2"
]
;
then
\
echo
"No libiconv to install"
;
\
else
\
apk add
--no-cache
gnu-libiconv
;
\
fi
&&
\
apk add
--no-cache
gnu-libiconv
&&
\
\
echo
"Fix sudo bug, for details see https://github.com/sudo-project/sudo/issues/42"
&&
\
echo
"Set disable_coredump false"
>>
/etc/sudo.conf
&&
\
...
...
@@ -101,6 +81,10 @@ RUN echo 'hosts: files dns' > /etc/nsswitch.conf && \
ln
-sf
/usr/lib/libgcc_s.so.1 /lib/libgcc_s.so.1
&&
\
ln
-sf
/lib/libgcc_s.so.1 /usr/glibc-compat/lib/
&&
\
\
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
&&
\
\
wget
-q
https://github.com/ahoy-cli/ahoy/releases/download/
${
AHOY_VERSION
}
/ahoy-bin-
`
uname
-s
`
-amd64
-O
/usr/local/bin/ahoy
&&
\
chmod
+x /usr/local/bin/ahoy
&&
\
\
...
...
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