Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions build_tensorflow/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ RUN dpkg --add-architecture armhf && dpkg --add-architecture arm64 \
libpython3-dev:armhf libpython3-all-dev:armhf \
libpython3-dev:arm64 libpython3-all-dev:arm64 g++ gcc

RUN pip3 install -U --user keras_applications==1.0.8 --no-deps \
&& pip3 install -U --user keras_preprocessing==1.1.0 --no-deps \
&& pip3 install portpicker \
RUN pip3 install --no-cache-dir -U --user keras_applications==1.0.8 --no-deps \
&& pip3 install --no-cache-dir -U --user keras_preprocessing==1.1.0 --no-deps \
&& pip3 install --no-cache-dir portpicker \
&& ldconfig

RUN /bin/bash -c "update-alternatives --install /usr/bin/python python /usr/bin/python3 150"
Expand Down
6 changes: 3 additions & 3 deletions build_tensorflow/Dockerfile.bullseye
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ RUN dpkg --add-architecture armhf && dpkg --add-architecture arm64 \
libpython3-dev:armhf libpython3-all-dev:armhf \
libpython3-dev:arm64 libpython3-all-dev:arm64

RUN pip install "numpy<1.19.0"
RUN pip install --no-cache-dir "numpy<1.19.0"

# NOTE: forcing gcc 8.3 as default (prevents internal compiler error: in emit_move_insn, at expr.c bug in gcc-6 of stretch)
RUN echo "deb http://ftp.us.debian.org/debian/ buster main contrib non-free" > /etc/apt/sources.list.d/buster.list \
&& apt-get update && apt-get install -y --allow-downgrades gcc-8 g++-8 gcc=4:8.3.0-1 g++=4:8.3.0-1 cpp=4:8.3.0-1\
&& rm -f /etc/apt/sources.list.d/buster.list \
&& rm -rf /var/lib/apt/lists/*

RUN pip3 install -U --user keras_applications==1.0.8 --no-deps \
&& pip3 install -U --user keras_preprocessing==1.1.0 --no-deps \
RUN pip3 install --no-cache-dir -U --user keras_applications==1.0.8 --no-deps \
&& pip3 install --no-cache-dir -U --user keras_preprocessing==1.1.0 --no-deps \
&& ldconfig

RUN /bin/bash -c "update-alternatives --install /usr/bin/python python /usr/bin/python3 150"
Expand Down
6 changes: 3 additions & 3 deletions build_tensorflow/Dockerfile.stretch
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ RUN echo "deb http://ftp.us.debian.org/debian/ buster main contrib non-free" > /
&& rm -f /etc/apt/sources.list.d/buster.list \
&& rm -rf /var/lib/apt/lists/*

RUN pip3 install -U --user keras_applications==1.0.8 --no-deps \
&& pip3 install -U --user keras_preprocessing==1.1.0 --no-deps \
&& pip3 install portpicker \
RUN pip3 install --no-cache-dir -U --user keras_applications==1.0.8 --no-deps \
&& pip3 install --no-cache-dir -U --user keras_preprocessing==1.1.0 --no-deps \
&& pip3 install --no-cache-dir portpicker \
&& ldconfig

RUN /bin/bash -c "update-alternatives --install /usr/bin/python python /usr/bin/python3 150"
Expand Down