File tree Expand file tree Collapse file tree 2 files changed +2
-51
lines changed
Expand file tree Collapse file tree 2 files changed +2
-51
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -30,31 +30,16 @@ RUN apt-get update && \
3030 pipx \
3131 python3 \
3232 python3-pip \
33- # software-properties-common \
33+ software-properties-common \
3434 sudo \
3535 systemd \
3636 systemd-sysv \
3737 unzip \
3838 vim \
3939 wget \
4040 rsync && \
41- rm -rf /var/lib/apt/lists/*
42-
43- # Compat: on non-armv7 architectures, install `software-properties-common`
44- RUN [[ "$(dpkg --print-architecture)" != "armhf" ]] && \
45- ( \
46- apt-get update && \
47- apt-get install --yes software-properties-common && \
48- rm -rf /var/lib/apt/lists/* \
49- ) || echo "WARN: Skipping software-properties-common installation on armhf"
50-
5141# Install latest Git using their official PPA
52- # Note: due to a dependency issue with the armv7 `software-properties-common` package,
53- # we can't use `add-apt-repository` here. Instead, we'll add the Git PPA
54- # manually. TODO: remove this workaround when the issue is resolved.
55- # Ref: https://bugs.launchpad.net/cloud-images/+bug/2091619
56- COPY git-core-ubuntu-ppa-noble.sources /etc/apt/sources.list.d/git-core-ubuntu-ppa-noble.sources
57- RUN apt-get update && \
42+ add-apt-repository ppa:git-core/ppa && \
5843 apt-get install --yes git \
5944 && rm -rf /var/lib/apt/lists/*
6045
You can’t perform that action at this time.
0 commit comments