upgrade pip in docker images

This commit is contained in:
ghidraffe
2026-02-27 15:17:12 +00:00
parent 12605fa91f
commit f496ab0edb

View File

@@ -23,21 +23,23 @@ WORKDIR /ghidra
# update and install dependencies used to both build and run ghidra # update and install dependencies used to both build and run ghidra
RUN apk update \ RUN apk update \
&& apk add openjdk21 python3 \ && apk add openjdk21 python3 py3-pip \
bash gcompat \ bash gcompat \
fontconfig msttcorefonts-installer \ fontconfig msttcorefonts-installer \
linux-headers libressl-dev \ linux-headers libressl-dev \
&& update-ms-fonts && update-ms-fonts \
&& pip install --break-system-packages --upgrade pip
FROM base AS build FROM base AS build
# install additional dependencies used to build ghidra # install additional dependencies used to build ghidra
RUN apk add gradle \ RUN apk add gradle \
python3-dev py-pip \ python3-dev \
alpine-sdk \ alpine-sdk \
build-base \ build-base \
gcc g++ make libc-dev zlib-dev musl-dev \ gcc g++ make libc-dev zlib-dev musl-dev \
zip readline-dev zip readline-dev
# copy the contents of the release into the current working dir. # copy the contents of the release into the current working dir.
COPY . . COPY . .