Skip to content

Commit

Permalink
Install git in the tools image (aptos-labs#7583)
Browse files Browse the repository at this point in the history
  • Loading branch information
banool authored Apr 6, 2023
1 parent 21c142b commit 2e646fc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions docker/experimental/tools.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ RUN echo "deb http://deb.debian.org/debian bullseye main" > /etc/apt/sources.lis

RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
--mount=type=cache,target=/var/lib/apt,sharing=locked \
apt-get update && apt-get --no-install-recommends -y \
apt-get update && apt-get --no-install-recommends --allow-downgrades -y \
install \
wget \
curl \
perl-base=5.32.1-4+deb11u1 \
git \
libssl1.1 \
ca-certificates \
socat \
Expand Down Expand Up @@ -41,4 +43,4 @@ ENV GIT_TAG ${GIT_TAG}
ARG GIT_BRANCH
ENV GIT_BRANCH ${GIT_BRANCH}
ARG GIT_SHA
ENV GIT_SHA ${GIT_SHA}
ENV GIT_SHA ${GIT_SHA}
4 changes: 3 additions & 1 deletion docker/rust-all.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,12 @@ FROM debian-base AS tools
RUN echo "deb http://deb.debian.org/debian bullseye main" > /etc/apt/sources.list.d/bullseye.list && \
echo "Package: *\nPin: release n=bullseye\nPin-Priority: 50" > /etc/apt/preferences.d/bullseye

RUN apt-get update && apt-get --no-install-recommends -y \
RUN apt-get update && apt-get --no-install-recommends --allow-downgrades -y \
install \
wget \
curl \
perl-base=5.32.1-4+deb11u1 \
git \
libssl1.1 \
ca-certificates \
socat \
Expand Down

0 comments on commit 2e646fc

Please sign in to comment.