Skip to content

Commit

Permalink
teste
Browse files Browse the repository at this point in the history
  • Loading branch information
GeoDerp committed Mar 5, 2024
1 parent 262376b commit 9f698d4
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,31 +22,31 @@ COPY requirements.txt /app/
RUN dpkg --add-architecture ${TARGETARCH}


RUN apt-get update \
&& apt-get install -y --no-install-recommends \
RUN apt-get update -o APT::Architecture="${TARGETARCH}" \
&& apt-get install -y --no-install-recommends -o Dir::Cache="./" -o Dir::Cache::archives="./" \
libffi-dev \
python3 \
python3-pip \
python3-dev \
git \
build-essential \
gcc \
coinor-cbc \
coinor-libcbc-dev \
libglpk-dev \
glpk-utils \
libhdf5-dev \
libhdf5-serial-dev \
netcdf-bin \
libnetcdf-dev \
libopenblas-dev \
patchelf \
cmake \
pkg-config \
meson \
ninja-build \
patchelf \
build-essential \
libhdf5-dev \
libhdf5-serial-dev \
pkg-config \
gfortran \
libatlas-base-dev
netcdf-bin \
libnetcdf-dev \
coinor-cbc \
coinor-libcbc-dev \
libglpk-dev \
glpk-utils \
libatlas-base-dev \
libopenblas-dev
RUN ln -s /usr/include/hdf5/serial /usr/include/hdf5/include
RUN export HDF5_DIR=/usr/include/hdf5

Expand All @@ -55,11 +55,12 @@ RUN [[ "${TARGETARCH}" == "armhf" || "${TARGETARCH}" == "armv7" ]] && pip3 inst

#remove build only packages
RUN apt-get purge -y --auto-remove \
ninja-build \
git \
gcc \
patchelf \
cmake \
meson \
patchelf \
gcc \
ninja-build \
build-essential \
libhdf5-dev \
libhdf5-serial-dev \
Expand Down

0 comments on commit 9f698d4

Please sign in to comment.