kopia lustrzana https://github.com/projecthorus/wenet
Switch numpy to using a system package
rodzic
f78cecb75b
commit
f302af6ba3
10
Dockerfile
10
Dockerfile
|
@ -11,11 +11,12 @@ RUN apt-get update && \
|
||||||
git \
|
git \
|
||||||
libusb-1.0-0-dev \
|
libusb-1.0-0-dev \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
libatlas-base \
|
libatlas-base-dev \
|
||||||
python3 \
|
python3 \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
python3-setuptools \
|
python3-setuptools \
|
||||||
|
python3-numpy \
|
||||||
python3-wheel && \
|
python3-wheel && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
@ -36,13 +37,14 @@ RUN git clone https://github.com/fsphil/ssdv.git /root/ssdv && \
|
||||||
rm -rf /root/ssdv
|
rm -rf /root/ssdv
|
||||||
|
|
||||||
# Install Python packages.
|
# Install Python packages.
|
||||||
|
# Removed numpy from this list, using system packages.
|
||||||
|
# --no-binary numpy
|
||||||
RUN --mount=type=cache,target=/root/.cache/pip pip3 install \
|
RUN --mount=type=cache,target=/root/.cache/pip pip3 install \
|
||||||
--user --no-warn-script-location --ignore-installed --no-binary numpy \
|
--user --no-warn-script-location --ignore-installed \
|
||||||
crcmod \
|
crcmod \
|
||||||
flask \
|
flask \
|
||||||
flask-socketio \
|
flask-socketio \
|
||||||
requests \
|
requests
|
||||||
numpy
|
|
||||||
|
|
||||||
# Copy in radiosonde_auto_rx.
|
# Copy in radiosonde_auto_rx.
|
||||||
COPY . /root/wenet
|
COPY . /root/wenet
|
||||||
|
|
Ładowanie…
Reference in New Issue