Skip to content

Commit

Permalink
Merge pull request #812 from advancedtelematic/feat/fix-pipeline
Browse files Browse the repository at this point in the history
Docker: fix repo error
  • Loading branch information
ystefinko authored Jul 9, 2021
2 parents 68af8d4 + 7f0b835 commit 3fabe1e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/ci/Dockerfile.checkout
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ RUN sed -i 's#deb http://deb.debian.org/debian buster-updates main#deb http://de
RUN apt-get update -q && apt-get install -qy \
git \
python3 \
repo \
curl \
xmlstarlet

RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 2
# Install repo
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 2 && \
curl https://storage.googleapis.com/git-repo-downloads/repo > /usr/bin/repo && \
chmod a+x /usr/bin/repo

# checkout script
RUN mkdir /scripts
Expand Down

0 comments on commit 3fabe1e

Please sign in to comment.