mirror of
https://github.com/nvbn/thefuck.git
synced 2026-02-08 00:32:18 +00:00
#1184: Add devcontainer for easy Python development
* adding devcontainer and new rule for main-master * update devcontainer work * cleaning up devcontainer.json * fixed line ending * move to VARIANT 3 * Update .devcontainer/devcontainer.json * Update .devcontainer/devcontainer.json * Update .devcontainer/devcontainer.json Co-authored-by: Pablo Aguiar <scorphus@gmail.com>
This commit is contained in:
10
.devcontainer/Dockerfile
Normal file
10
.devcontainer/Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.163.1/containers/python-3/.devcontainer/base.Dockerfile
|
||||
|
||||
# [Choice] Python version: 3, 3.9, 3.8, 3.7, 3.6
|
||||
ARG VARIANT="3"
|
||||
FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT}
|
||||
|
||||
# [Optional] If your pip 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
|
||||
Reference in New Issue
Block a user