Created
April 16, 2020 07:56
-
-
Save isutton/947d06bec852e95d8b908b5c782a138f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#------------------------------------------------------------------------------------------------------------- | |
# Copyright (c) Microsoft Corporation. All rights reserved. | |
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information. | |
#------------------------------------------------------------------------------------------------------------- | |
# Update the VARIANT arg in devcontainer.json to pick a Python version: 3, 3.8, 3.7, 3.6 | |
# To fully customize the contents of this image, use the following Dockerfile instead: | |
# https://github.com/microsoft/vscode-dev-containers/tree/v0.112.0/containers/python-3/.devcontainer/base.Dockerfile | |
ARG VARIANT="3" | |
FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT} | |
# [Optional] If your requirements rarely change, uncomment this section to add them to the image. | |
# | |
# COPY requirements.txt /tmp/pip-tmp/ | |
# RUN pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requirements.txt \ | |
# && rm -rf /tmp/pip-tmp | |
# [Optional] Uncomment this section to install additional packages. | |
# | |
# ENV DEBIAN_FRONTEND=noninteractive | |
# RUN apt-get update \ | |
# && apt-get -y install --no-install-recommends <your-package-list-here> \ | |
# # | |
# # Clean up | |
# && apt-get autoremove -y \ | |
# && apt-get clean -y \ | |
# && rm -rf /var/lib/apt/lists/* | |
# ENV DEBIAN_FRONTEND=dialog | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment