Loading .gitlab-ci.yml +2 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,8 @@ stages: - registry.cyberbrain.pw/docker/dind before_script: - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY - alias drr="docker run --rm -v \${PWD}:\${PWD} -w \${PWD}" - function drr { (docker run --rm -v ${PWD}:${PWD} -w ${PWD} $@) } - function git { (docker run -ti --rm -v ${HOME}:/root -v $(pwd):/git alpine/git "$@") } ########################################################################################################## Loading Dockerfile +2 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,8 @@ FROM pipelinecomponents/ansible-lint:latest ENV LANG C.UTF-8 ARG DEPENDENCIES_RUNTIME="git openssh-client" #ARG DEPENDENCIES_RUNTIME="git openssh-client" ARG DEPENDENCIES_RUNTIME="openssh-client" RUN apk add --no-cache $DEPENDENCIES_RUNTIME WORKDIR /opt/ansible Loading
.gitlab-ci.yml +2 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,8 @@ stages: - registry.cyberbrain.pw/docker/dind before_script: - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY - alias drr="docker run --rm -v \${PWD}:\${PWD} -w \${PWD}" - function drr { (docker run --rm -v ${PWD}:${PWD} -w ${PWD} $@) } - function git { (docker run -ti --rm -v ${HOME}:/root -v $(pwd):/git alpine/git "$@") } ########################################################################################################## Loading
Dockerfile +2 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,8 @@ FROM pipelinecomponents/ansible-lint:latest ENV LANG C.UTF-8 ARG DEPENDENCIES_RUNTIME="git openssh-client" #ARG DEPENDENCIES_RUNTIME="git openssh-client" ARG DEPENDENCIES_RUNTIME="openssh-client" RUN apk add --no-cache $DEPENDENCIES_RUNTIME WORKDIR /opt/ansible