From a85bc42dd9c9cb175005fc9c59422376422d2cb5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9=20=D0=A1=D0=B0?=
 =?UTF-8?q?=D1=84=D1=80=D0=BE=D0=BD=D0=BE=D0=B2?= <zimniy@cyberbrain.pw>
Date: Sun, 19 Jul 2020 14:51:08 +0300
Subject: [PATCH] Development

---
 .gitlab-ci.yml | 3 ++-
 Dockerfile     | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6033c7d..9c3e5e6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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 "$@") }
 
 ##########################################################################################################
 
diff --git a/Dockerfile b/Dockerfile
index 0b77af7..1540165 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,7 +2,7 @@ FROM pipelinecomponents/ansible-lint:latest
 
 ENV LANG C.UTF-8
 
-ARG DEPENDENCIES_RUNTIME="git openssh-client"
+ARG DEPENDENCIES_RUNTIME="git openssh-client rsync"
 RUN apk add --no-cache $DEPENDENCIES_RUNTIME
 
 WORKDIR /opt/ansible
-- 
GitLab