Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
KNIGHT
Asyst Moodle Plugin
Commits
92c02780
Commit
92c02780
authored
Jan 05, 2025
by
Artem Baranovskyi
Browse files
Image build is optimized.
parent
162dc1f3
Pipeline
#10722
failed
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
92c02780
...
@@ -20,22 +20,22 @@ variables:
...
@@ -20,22 +20,22 @@ variables:
DOCKER_TLS_CERTDIR
:
"
"
DOCKER_TLS_CERTDIR
:
"
"
DOCKER_DAEMON_TIMEOUT
:
300
DOCKER_DAEMON_TIMEOUT
:
300
# DOCKER_HOST: "unix:///var/run/docker.sock"
# DOCKER_HOST: "unix:///var/run/docker.sock"
DOCKER_HOST
:
tcp://
d
oc
ker
:2375
/
DOCKER_HOST
:
"
tcp://
l
oc
alhost
:2375
"
DOCKER_OPTS
:
"
--data-root=/mnt/volume/docker-data"
DOCKER_OPTS
:
"
--data-root=/mnt/volume/docker-data"
DOCKER_MEMORY
:
"
4g"
DOCKER_MEMORY
:
"
4g"
DOCKER_CPUS
:
"
2"
DOCKER_CPUS
:
"
2"
build
:
build
:
image
:
docker:
latest
image
:
docker:
dind
services
:
services
:
-
name
:
docker:dind
-
name
:
docker:dind
command
:
[
"
--tls=false"
,
"
--storage-driver=overlay2"
,
"
--mtu=1500"
,
"
--data-root=/mnt/volume"
]
command
:
[
"
--host=tcp://0.0.0.0:2375"
,
"
--tls=false"
,
"
--storage-driver=overlay2"
,
"
--mtu=1500"
,
"
--data-root=/mnt/volume"
]
script
:
script
:
-
echo "Building the Flask project"
-
echo "Building the Flask project"
-
docker build -t $DOCKER_REPO:flask .
-
docker build -t $DOCKER_REPO:flask .
containerize
:
containerize
:
image
:
docker:
latest
image
:
docker:
dind
services
:
services
:
-
docker:dind
-
docker:dind
script
:
script
:
...
...
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