Skip to content

Commit

Permalink
Merge pull request #9 from KhiopsML/removing-"v"-from-URLs
Browse files Browse the repository at this point in the history
Update Dockerfile
  • Loading branch information
lucaurelien authored Feb 23, 2024
2 parents 1eee2e8 + 6f8d7e0 commit d79c674
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ ARG KHIOPS_PYTHON_VERSION=10.2.0.0
RUN apt-get update && \
apt-get install -y wget && \
CODENAME=$(sed -rn 's|^deb\s+\S+\s+(\w+)\s+(\w+\s+)?main.*$|\1|p' /etc/apt/sources.list) && \
wget "https://github.com/KhiopsML/khiops/releases/download/v${KHIOPS_VERSION}/khiops-core_${KHIOPS_VERSION}-1-${CODENAME}.amd64.deb" && \
wget "https://github.com/KhiopsML/khiops/releases/download/${KHIOPS_VERSION}/khiops-core_${KHIOPS_VERSION}-1-${CODENAME}.amd64.deb" && \
dpkg -i "khiops-core_${KHIOPS_VERSION}-1-${CODENAME}.amd64.deb" || apt-get -f -y install && \
rm "khiops-core_${KHIOPS_VERSION}-1-${CODENAME}.amd64.deb" && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
pip install --no-cache-dir "git+https://github.com/khiopsml/khiops-python@v${KHIOPS_PYTHON_VERSION}" && \
pip install "https://github.com/KhiopsML/khiops-python/releases/download/10.2.0.0/khiops-10.2.0.0.tar.gz" && \
fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"

Expand Down

0 comments on commit d79c674

Please sign in to comment.