Skip to content
Merged
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
3 changes: 3 additions & 0 deletions docker/3.10/Debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ RUN apt-get -y update && apt-get -y install --no-install-recommends \
&& pip3 --no-cache-dir install tiatoolbox \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# set the entry point to bash
ENTRYPOINT ["/bin/bash"]
18 changes: 8 additions & 10 deletions docker/3.10/Ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,14 @@ FROM ubuntu:22.04 AS builder-image
ENV DEBIAN_FRONTEND=noninteractive

# Install python3.10
RUN : \
&& apt-get update && apt upgrade \
&& apt install software-properties-common -y \
&& add-apt-repository ppa:deadsnakes/ppa -y && apt update \
&& apt-get install -y --no-install-recommends python3.10-venv \
&& apt-get install libpython3.10-de -y \
&& apt-get install python3.10-dev -y \
&& apt-get install build-essential -y \
&& apt-get clean \
&& :
RUN apt-get update && \
apt install software-properties-common -y &&\
add-apt-repository ppa:deadsnakes/ppa -y && apt update &&\
apt-get install -y --no-install-recommends python3.10-venv &&\
apt-get install libpython3.10-de -y &&\
apt-get install python3.10-dev -y &&\
apt-get install build-essential -y &&\
apt-get clean

# Add env to PATH
RUN python3.10 -m venv /venv
Expand Down
3 changes: 3 additions & 0 deletions docker/3.8/Debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ RUN apt-get -y update && apt-get -y install --no-install-recommends \
&& pip3 --no-cache-dir install tiatoolbox \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# set the entry point to bash
ENTRYPOINT ["/bin/bash"]
3 changes: 3 additions & 0 deletions docker/3.9/Debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ RUN apt-get -y update && apt-get -y install --no-install-recommends \
&& pip3 --no-cache-dir install tiatoolbox \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# set the entry point to bash
ENTRYPOINT ["/bin/bash"]
20 changes: 8 additions & 12 deletions docker/3.9/Ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,14 @@ FROM ubuntu:22.04 AS builder-image
ENV DEBIAN_FRONTEND=noninteractive

# Install python3.9
RUN : \
&& apt-get update && apt upgrade \
&& apt install software-properties-common -y \
&& add-apt-repository ppa:deadsnakes/ppa -y && apt update \
&& apt-get install -y --no-install-recommends python3.9-venv \
&& apt-get install libpython3.9-de -y \
&& apt-get install python3.9-dev -y \
&& apt-get install build-essential -y \
&& apt-get clean \
&& :
RUN apt-get update && \
apt install software-properties-common -y &&\
add-apt-repository ppa:deadsnakes/ppa -y && apt update &&\
apt-get install -y --no-install-recommends python3.9-venv &&\
apt-get install libpython3.9-de -y &&\
apt-get install python3.9-dev -y &&\
apt-get install build-essential -y &&\
apt-get clean

# Add env to PATH
RUN python3.9 -m venv /venv
Expand All @@ -30,5 +28,3 @@ RUN pip install --no-cache-dir tiatoolbox
# activate virtual environment
ENV VIRTUAL_ENV=/opt/venv
ENV PATH="/opt/venv/bin:$PATH"

CMD ["python"]