Skip to content
Snippets Groups Projects
Unverified Commit 80c26736 authored by Niaz Faridani-Rad's avatar Niaz Faridani-Rad Committed by GitHub
Browse files

Add python

parent 97de173b
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,13 @@ FROM ubuntu:hirsute
ARG TARGETPLATFORM
ENV DEBIAN_FRONTEND=noninteractive
# Install python
RUN apt-get update \
&& apt-get install -y python3-pip python3-dev \
&& cd /usr/local/bin \
&& ln -s /usr/bin/python3 python \
&& pip3 install --upgrade pip
RUN apt-get update && \
apt-get install -y --no-install-recommends \
build-essential \
......@@ -19,4 +26,4 @@ RUN git clone --depth 1 --branch 'v19.22' https://github.com/davisking/dlib.git
cd dlib/build && \
cmake .. -DDLIB_USE_CUDA=0 -DUSE_AVX_INSTRUCTIONS=0 -DLIB_NO_GUI_SUPPORT=0 && \
cmake --build . && \
zip -r dlib.zip dlib \
\ No newline at end of file
zip -r dlib.zip dlib \
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment