From b35e6ca5c4028a89a693058a7a7f14b9bd8eb7a2 Mon Sep 17 00:00:00 2001 From: vdovhanych Date: Wed, 26 Jan 2022 14:09:15 +0100 Subject: [PATCH] ci: add git filter repo to base image --- ci/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ci/Dockerfile b/ci/Dockerfile index 13ed1d135..6df7d784d 100644 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -10,6 +10,8 @@ ADD alpine-minirootfs-${ALPINE_VERSION}-${ALPINE_ARCH}.tar.gz / # Enable HTTPS support in wget and set nsswitch.conf to make resolution work within containers RUN apk add --no-cache --update openssl \ && echo hosts: files dns > /etc/nsswitch.conf +# Add basic packages +RUN apk update && apk add bash git python3 # Download Nix and install it into the system. ARG NIX_VERSION=2.4 @@ -38,6 +40,9 @@ ENV \ COPY shell.nix shell.nix COPY pyright/ pyright/ +# add and install git-filter-repo for common sync job +COPY common_sync/git-filter-repo git-filter-repo +RUN mv git-filter-repo $(git --exec-path) # to make multiple python versions and monero test suite available, run docker build # with the following argument: "--build-arg FULLDEPS_TESTING=1"