This repository defines the unofficial gitlab-ci-local docker image.
which are published to ghcr.io.
note - requires latest docker to be installed and available
docker pull ghcr.io/maxime1907/gitlab-ci-local-docker:latest
docker run --rm --privileged \
ghcr.io/maxime1907/gitlab-ci-local-docker:latest \
--version
docker run --rm --privileged \
-v $PWD:/app \
-v $HOME/.ssh:/root/.ssh \
-v $SSH_AUTH_SOCK:$SSH_AUTH_SOCK -e SSH_AUTH_SOCK=$SSH_AUTH_SOCK \
ghcr.io/maxime1907/gitlab-ci-local-docker:latest \
mysuperjob
export GITLAB_CI_LOCAL_VERSION="4.41.2"
docker build --build-arg GITLAB_CI_LOCAL_VERSION=$GITLAB_CI_LOCAL_VERSION -t gitlab-ci-local-docker:$GITLAB_CI_LOCAL_VERSION docker/dind