Commit c4f94235 authored by Gabriele Giammatteo's avatar Gabriele Giammatteo

Update Dockerfile, README.md files

parent dc854a79
Pipeline #1027 passed with stage
in 21 seconds
FROM docker:19.03.5-dind
#
# Force Docker daemon to not start with the TLS support since this is not
# supported when running jobs with the Kubernetes runner.
#
# To make tls working, a volume should be shared between the build and dind containers to make
# certificates created by Docker visibile in the build container (See [1]).
# However, there is not way to do this using the Helm chart (see [2], [3]).
# [1] https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#use-docker-in-docker-workflow-with-docker-executor
# [2] https://gitlab.com/gitlab-org/charts/gitlab-runner/-/merge_requests/39
# [3] https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/1263
#
ENV DOCKER_TLS_CERTDIR=""
#
# Force Docker daemon to use mtu=1350 because this is the value
# supported in FIWARE
#
CMD ["--mtu=1350"]
......@@ -3,3 +3,8 @@
An Docker-DinD image customized to be used as helper service in GitLab CI jobs.
The customizations applied to the official Docker DinD image are:
- disable TLS because with TLS enabled certificates should be shared between the DinD container and the container that executes the build, but this is not supported yet by the Kubernetes runner (see Dockerfile for more information);
- set MTU to 1350 because this is the supported value in FIWARE.
Markdown is supported
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