Skip to content

Commit

Permalink
chore: add workaround for lp#1992108
Browse files Browse the repository at this point in the history
  • Loading branch information
git-developer committed Oct 3, 2024
1 parent c5495ff commit 8b359f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ RUN <<EOR
python3-setuptools \
python3-venv \
python-is-python3
build_version="$(apt-cache madison python3-build | cut -d '|' -f2 | tr -d ' ')"
for dep in build; do
package="python3-${dep}"
if apt-cache search --names-only "^${package}$" | grep -q .; then
if [ '0.7.0-2' != "${build_version}" ] && apt-cache search --names-only "^${package}$" | grep -q .; then
apt-get install -y --no-install-recommends "${package}"
else
apt-get install -y --no-install-recommends python3-pip
Expand Down

0 comments on commit 8b359f3

Please sign in to comment.