diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fd6f1413..a93708b0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,6 +20,9 @@ jobs: - name: Setup Miniconda uses: conda-incubator/setup-miniconda@v2 with: + miniforge-version: latest + use-mamba: true + channels: conda-forge activate-environment: hls4ml-tutorial environment-file: environment.yml python-version: 3.10.10 diff --git a/docker/Dockerfile b/docker/Dockerfile index feacfff2..2da27501 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,5 +1,14 @@ FROM jupyter/tensorflow-notebook:tensorflow-2.11.1 +# Install curl +USER root +RUN apt-get update -y && \ + apt-get install --no-install-recommends -y \ + curl \ + libtinfo5 && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* + # Install hls4ml and dependencies USER ${NB_USER} RUN mamba install -y -c conda-forge \ @@ -7,9 +16,9 @@ RUN mamba install -y -c conda-forge \ pydot==1.4.2 \ tensorflow-datasets==4.8.3 \ jupyter-book==0.15.1 \ - jupyter_contrib_nbextensions==0.5.1 + jupyter_contrib_nbextensions==0.7.0 RUN pip install \ - hls4ml[profiling]==0.7.1 \ + hls4ml[profiling]==0.8.0 \ qkeras==0.9.0 \ conifer==0.2b0 RUN mamba clean --all -f -y && \ diff --git a/docker/Dockerfile.vivado b/docker/Dockerfile.vivado index 4dc70ea3..209550ef 100644 --- a/docker/Dockerfile.vivado +++ b/docker/Dockerfile.vivado @@ -21,9 +21,9 @@ RUN mamba install -y -c conda-forge \ pydot==1.4.2 \ tensorflow-datasets==4.8.3 \ jupyter-book==0.15.1 \ - jupyter_contrib_nbextensions==0.5.1 + jupyter_contrib_nbextensions==0.7.0 RUN pip install \ - hls4ml[profiling]==0.7.1 \ + hls4ml[profiling]==0.8.0 \ qkeras==0.9.0 \ conifer==0.2b0 RUN mamba clean --all -f -y && \ diff --git a/environment.yml b/environment.yml index 35086e66..9b7bc2a8 100644 --- a/environment.yml +++ b/environment.yml @@ -3,7 +3,7 @@ channels: - conda-forge dependencies: - python=3.10.10 - - jupyter_contrib_nbextensions==0.5.1 + - jupyter_contrib_nbextensions==0.7.0 - jupyterhub==3.1.1 - jupyter-book==0.15.1 - jsonschema-with-format-nongpl @@ -16,6 +16,6 @@ dependencies: - widgetsnbextension==3.6.0 - pip==23.0.1 - pip: - - hls4ml[profiling]==0.7.1 + - hls4ml[profiling]==0.8.0 - qkeras==0.9.0 - conifer==0.2b0