File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,18 +14,19 @@ ENV version=${v} tag=${t}
1414ENV PYTHONPATH=$PYTHONPATH:$HOME/lib/python PATH=$PATH:$HOME/lib/python
1515ENV DEBIAN_FRONTEND=noninteractive
1616
17- RUN apt-get update
18- RUN apt-get install -y software-properties-common
17+ RUN apt update
18+ RUN apt install -y software-properties-common
1919RUN add-apt-repository ppa:deadsnakes
2020RUN curl https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | apt-key add -
2121RUN echo 'deb https://apt.kitware.com/ubuntu/ bionic main' > /etc/apt/sources.list.d/cmake.list
22- RUN apt-get update
23- RUN apt-get install -y build-essential cmake git s3cmd python$version python$version-distutils python$version-dev
24- RUN curl -Ss https://bootstrap.pypa.io/get-pip.py | python$version
22+ RUN apt update
23+ RUN apt install -y build-essential cmake git s3cmd
24+ RUN apt install -y python$version python$version-dev python$version-venv python$version-distutils
25+ RUN python$version -m ensurepip --upgrade
2526
2627RUN chown -R root:root $HOME
2728RUN ln -fs /usr/bin/python3.11 /usr/bin/python3 && \
28- apt-get purge -y && \
29+ apt purge -y && \
2930 rm -rf /root/.pip/cache/* /tmp/pip*
3031
3132RUN python$version -m pip install --user -r /usr/bin/redsift/requirements.txt
You can’t perform that action at this time.
0 commit comments