Update docker to install opencv dep

This commit is contained in:
Dmitri Soshnikov 2022-05-25 13:21:09 +03:00
parent ed8bfb0bf8
commit 84bea7cce2
2 changed files with 4 additions and 4 deletions

View File

@ -4,6 +4,9 @@ FROM mcr.microsoft.com/vscode/devcontainers/miniconda:0-3
ARG NODE_VERSION="none"
RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install libgl1
# Copy environment.yml (if found) to a temp location so we update the environment. Also
# copy "noop.txt" so the COPY instruction does not fail if no environment.yml exists.
COPY .devcontainer/environment.yml* .devcontainer/requirements.txt /tmp/conda-tmp/
@ -15,6 +18,3 @@ RUN if [ -f "/tmp/conda-tmp/environment.yml" ]; then umask 0002 && /opt/conda/bi
# && pip install --no-cache-dir pipx \
# && pipx reinstall-all
# [Optional] Uncomment this section to install additional OS packages.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# && apt-get -y install --no-install-recommends <your-package-list-here>

View File

@ -8,7 +8,7 @@
}
},
"hostRequirements": { "cpus": 4, "memory": "8gb", "storage": "100gb"},
"hostRequirements": { "cpus": 4, "memory": "8gb", "storage": "50gb"},
// Configure tool-specific properties.
"customizations": {