Commit c4f83c9a authored by Artem Baranovskyi's avatar Artem Baranovskyi
Browse files

Image build is optimized.

parent d7caf88d
No related merge requests found
Pipeline #10897 failed with stages
in 2 minutes and 18 seconds
Showing with 2 additions and 3 deletions
+2 -3
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment