Skip to content

Commit

Permalink
docker-image: Update to debian 12 and migrate pip to deb packages
Browse files Browse the repository at this point in the history
  • Loading branch information
th0ma7 committed Jul 28, 2024
1 parent b51439b commit 17645a4
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
automake \
autopoint \
bash \
bash-completion \
bc \
bison \
build-essential \
Expand All @@ -32,8 +33,10 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
g++-multilib \
gawk \
gettext \
gh \
git \
gperf \
httpie \
imagemagick \
intltool \
jq \
Expand All @@ -51,7 +54,11 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
libtool \
libunistring-dev \
lzip \
man-db \
manpages-dev \
mercurial \
meson \
mlocate \
moreutils \
ninja-build \
patchelf \
Expand All @@ -60,14 +67,19 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
python2 \
python3 \
python3-distutils \
python3-pip \
python3-virtualenv \
rename \
ripgrep \
rsync \
ruby-mustache \
scons \
subversion \
sudo \
swig \
texinfo \
time \
tree \
unzip \
xmlto \
zip \
Expand All @@ -78,18 +90,6 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
adduser user sudo && \
echo "%user ALL=(ALL:ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/users

# Install setuptools, wheel and pip for Python2
RUN wget https://bootstrap.pypa.io/pip/2.7/get-pip.py -O - | python2
# Install virtualenv and httpie for Python2
# Use pip2 as default pip -> python3
RUN pip2 install virtualenv httpie

# Install setuptools, wheel and pip for Python3
# Default pip -> python3 aware for native python wheels builds
RUN wget https://bootstrap.pypa.io/get-pip.py -O - | python3
# Install meson cross-platform build system
RUN pip3 install meson==1.0.0

# Volume pointing to spksrc sources
VOLUME /spksrc
WORKDIR /spksrc

0 comments on commit 17645a4

Please sign in to comment.