Sign inSign up

primus852/docker-dind-git-npm

By primus852

Updated over 6 years ago

A Docker in Docker Image including git and NodeJs for a CI/CD Pipeline

Image
0

139

primus852/docker-dind-git-npm repository overview

docker-dind-git

Make git and npm available in a Docker-In-Docker Image for ci/cd pipeline

Usage (gitlab-ci.yml to build the image of the project)

publish:
    image: primus852/docker-dind-git
    script:
        - npm run build portal -- --output-path=apps/portal/dist --configuration=production --output-hashing=all --source-map=false
        - commit=`git show -s --format=%h $CI_COMMIT_SHA`
        - docker build -t fe-portal:$commit apps/portal

Tag summary

Content type

Image

Digest

Size

89.7 MB

Last updated

over 6 years ago

docker pull primus852/docker-dind-git-npm