Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Pado
Asyst Moodle Plugin
Commits
c4f83c9a
Commit
c4f83c9a
authored
5 months ago
by
Artem Baranovskyi
Browse files
Options
Download
Email Patches
Plain Diff
Image build is optimized.
parent
d7caf88d
Pipeline
#10897
failed with stages
in 2 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+2
-3
.gitlab-ci.yml
with
2 additions
and
3 deletions
+2
-3
.gitlab-ci.yml
+
2
-
3
View file @
c4f83c9a
...
...
@@ -17,8 +17,7 @@ stages:
variables
:
DOCKER_DRIVER
:
overlay2
DOCKER_TLS_CERTDIR
:
"
"
DOCKER_HOST
:
tcp://docker:2375
# DOCKER_HOST: "unix:///var/run/docker.sock"
DOCKER_HOST
:
"
unix:///var/run/docker.sock"
DOCKER_OPTS
:
"
--data-root=/mnt/volume/docker-data"
DOCKER_MEMORY
:
"
4g"
DOCKER_CPUS
:
"
2"
...
...
@@ -30,7 +29,7 @@ build:
services
:
-
name
:
docker:dind
# command: ["--tls=false", "--storage-driver=overlay2", "--mtu=1500", "--data-root=/mnt/volume"]
command
:
[
"
--host=tcp://0.0.0.0:2375"
,
"
--host=unix:///var/run/docker.sock"
,
"
--storage-driver=overlay2"
,
"
--mtu=1500"
,
"
--data-root=/mnt/volume"
]
command
:
[
"
--host=tcp://0.0.0.0:2375"
,
"
--host=unix:///var/run/docker.sock"
]
before_script
:
-
mkdir -p ~/.docker
-
echo $DOCKER_CONFIG_JSON | base64 -d > ~/.docker/config.json
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment