A little docker image based on docker:dind with envsubst and bash. Default shell is bash.
10K+
A little docker image based on docker:dind with envsubst and bash. Default shell is bash.
deploy:
stage: deploy
image: lskjs/dind
script:
- docker login -u ${DOCKER_REGISTRY_USER} -p ${DOCKER_REGISTRY_PASS} ${DOCKER_REGISTRY}
- docker build -t ${DOCKER_IMAGE} ${DOCKER_FILE}
- docker tag ${DOCKER_IMAGE} ${DOCKER_TAG}
- docker push ${DOCKER_IMAGE}
- docker push ${DOCKER_TAG}
- envsubst < docker-stack.yml > docker-stack.yml.${CI_COMMIT_SHORT_SHA}
- docker stack deploy --with-registry-auth --compose-file=./docker-stack.yml.${CI_COMMIT_SHORT_SHA} ${DOCKER_SERVICE}
docker run -it --rm lskjs/dind bash
Content type
Image
Digest
sha256:f2308f7cc…
Size
109.2 MB
Last updated
over 3 years ago
docker pull lskjs/dind