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
baeadd5a
Commit
baeadd5a
authored
Jan 05, 2025
by
Artem Baranovskyi
Browse files
Image build is optimized.
parent
8476c3a3
Pipeline
#10697
failed with stages
in 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
baeadd5a
...
...
@@ -19,7 +19,7 @@ variables:
DOCKER_TLS_CERTDIR
:
"
"
DOCKER_HOST
:
"
unix:///var/run/docker.sock"
DOCKER_OPTS
:
"
--data-root=/mnt/volume/docker-data"
DOCKER_MEMORY
:
"
5
g"
DOCKER_MEMORY
:
"
4
g"
DOCKER_CPUS
:
"
2"
build
:
...
...
@@ -35,6 +35,7 @@ build:
-
docker system prune -a -f --volumes ||
true
-
docker container prune -f ||
true
-
docker network prune -f ||
true
-
docker image prune -a -f ||
true
-
df -h
-
free -h
-
top -b -n
1
...
...
@@ -46,6 +47,7 @@ build:
-
docker volume prune -f
-
docker container prune -f
-
docker network prune -f
-
docker image prune -a -f
script
:
-
docker build --cache-from=flask-backend-full --no-cache --progress=plain -t flask-backend-full -f flask_ml_api/Dockerfile .
-
df -h
...
...
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