Skip to content

Commit

Permalink
Merge pull request Kaggle#1172 from Kaggle/add_7z
Browse files Browse the repository at this point in the history
Add support for 7zip
  • Loading branch information
SohierDane committed Jun 28, 2022
2 parents d5246de + 2d30977 commit ad95fba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ RUN sed -i "s/httpredir.debian.org/debian.uchicago.edu/" /etc/apt/sources.list &
apt-get update && \
# Needed by lightGBM (GPU build)
# https://lightgbm.readthedocs.io/en/latest/GPU-Tutorial.html#build-lightgbm
apt-get install -y build-essential unzip cmake libboost-dev libboost-system-dev libboost-filesystem-dev && \
apt-get install -y build-essential unzip cmake libboost-dev libboost-system-dev libboost-filesystem-dev p7zip-full && \
# b/182601974: ssh client was removed from the base image but is required for packages such as stable-baselines.
apt-get install -y openssh-client && \
/tmp/clean-layer.sh
Expand Down
8 changes: 8 additions & 0 deletions tests/test_7z.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import subprocess
import unittest


class Test7z(unittest.TestCase):
def test_basic(self):
result = subprocess.run('which 7z', shell=True, capture_output=True)
assert len(result.stdout) > 0

0 comments on commit ad95fba

Please sign in to comment.