Skip to content

Commit 2d30977

Browse files
committed
Cleaner install
1 parent 3d85950 commit 2d30977

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Dockerfile.tmpl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ RUN sed -i "s/httpredir.debian.org/debian.uchicago.edu/" /etc/apt/sources.list &
5959
apt-get update && \
6060
# Needed by lightGBM (GPU build)
6161
# https://lightgbm.readthedocs.io/en/latest/GPU-Tutorial.html#build-lightgbm
62-
apt-get install -y build-essential unzip cmake libboost-dev libboost-system-dev libboost-filesystem-dev && \
62+
apt-get install -y build-essential unzip cmake libboost-dev libboost-system-dev libboost-filesystem-dev p7zip-full && \
6363
# b/182601974: ssh client was removed from the base image but is required for packages such as stable-baselines.
6464
apt-get install -y openssh-client && \
6565
/tmp/clean-layer.sh
@@ -528,9 +528,6 @@ RUN mkdir -p /root/.EasyOCR/model && \
528528
rm /root/.EasyOCR/model/craft_mlt_25k.zip && \
529529
/tmp/clean-layer.sh
530530

531-
# Add 7z support
532-
RUN apt-get install -y p7zip-full
533-
534531
# Tesseract and some associated utility packages
535532
RUN apt-get install tesseract-ocr -y && \
536533
pip install pytesseract && \

0 commit comments

Comments
 (0)