Skip to content

Commit

Permalink
Try ubuntu 24.04 and use distro pip3
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier FAURAX <olivier.faurax@eu.equinix.com>
  • Loading branch information
ofaurax committed May 16, 2024
1 parent 92486ce commit 72ca61a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:16.04
FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
ENV LANG=C.UTF-8

Expand Down Expand Up @@ -71,8 +71,7 @@ RUN apt-get update && apt-get install -y alien && \
COPY ./ /opt/packet-hardware/
# Install packet-hardware
RUN apt update && \
apt install -y git python3 && \
curl https://bootstrap.pypa.io/pip/3.5/get-pip.py | python3 && \
apt install -y git python3 python3-pip && \
pip3 install --no-cache-dir /opt/packet-hardware && \
apt clean -qy && \
rm -rf /var/lib/apt/lists/* && \
Expand Down

0 comments on commit 72ca61a

Please sign in to comment.