Skip to content

Commit

Permalink
✨ Add label tool to the docker image + clean
Browse files Browse the repository at this point in the history
  • Loading branch information
JuInria committed Feb 14, 2022
1 parent ed23b7d commit fdfdb33
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions docker_images/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,33 @@ FROM tensorflow/tensorflow:2.7.0

ENV DEBIAN_FRONTEND=noninteractive

# Install a tool to find a fast, up-to-date Ubuntu Archive Mirror.
RUN apt update && apt install --no-install-recommends -y python3-pip &&\
pip3 install -U pip &&\
pip3 install apt-mirror-updater &&\
apt-mirror-updater -a -q &&\
rm -rf /var/lib/apt/lists/*

# Install essentials
RUN apt update &&\
RUN apt-mirror-updater -a -q &&\
apt install -y build-essential &&\
rm -rf /var/lib/apt/lists/*

# OpenCV
RUN apt update &&\
RUN apt-mirror-updater -a -q &&\
apt install --no-install-recommends -y python3-opencv &&\
pip3 install -U pip &&\
pip3 install opencv-python &&\
pip3 install pyyaml &&\
rm -rf /var/lib/apt/lists/*

RUN ldconfig
# LabelImg
RUN apt-mirror-updater -a -q &&\
apt install --no-install-recommends -y pyqt5-dev-tools &&\
pip3 install -U pip &&\
pip3 install labelImg

# Model conversion
RUN pip3 install tf2onnx

RUN ldconfig

0 comments on commit fdfdb33

Please sign in to comment.