Skip to content

Commit fb25c79

Browse files
authored
chore(images/base): revert workaround for broken packagekit on armv7 (#293) (#295)
This reverts commit d5a3b19. Upstream bug has been fixed: https://bugs.launchpad.net/ubuntu/+source/packagekit/+bug/2091714
1 parent bc26c9e commit fb25c79

File tree

2 files changed

+2
-51
lines changed

2 files changed

+2
-51
lines changed

images/base/git-core-ubuntu-ppa-noble.sources

Lines changed: 0 additions & 34 deletions
This file was deleted.

images/base/ubuntu.Dockerfile

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)