Update docker to install opencv dep
This commit is contained in:
parent
ed8bfb0bf8
commit
84bea7cce2
|
|
@ -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>
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
}
|
||||
},
|
||||
|
||||
"hostRequirements": { "cpus": 4, "memory": "8gb", "storage": "100gb"},
|
||||
"hostRequirements": { "cpus": 4, "memory": "8gb", "storage": "50gb"},
|
||||
|
||||
// Configure tool-specific properties.
|
||||
"customizations": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue