Update devcontainers
- setuptools support - pre-compile PyBitmessage
This commit is contained in:
parent
7ed76d9e3e
commit
36e1f7984b
|
@ -15,6 +15,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
|||
libcap-dev \
|
||||
libssl-dev \
|
||||
pylint \
|
||||
python-setuptools \
|
||||
python2.7 \
|
||||
python2.7-dev \
|
||||
python3 \
|
||||
python3-dev \
|
||||
python3-flake8 \
|
||||
|
@ -26,9 +29,6 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
|||
|
||||
RUN apt-add-repository ppa:deadsnakes/ppa
|
||||
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||
python2.7 python2.7-dev
|
||||
|
||||
RUN pip install 'tox<4' 'virtualenv<20.22.0'
|
||||
|
||||
RUN groupadd --gid $USER_GID $USERNAME \
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
],
|
||||
"dockerFile": "Dockerfile",
|
||||
"postCreateCommand": "pip3 install -r requirements.txt",
|
||||
"updateContentCommand": "python2.7 setup.py install --user",
|
||||
"remoteEnv": {
|
||||
"PATH": "${containerEnv:PATH}:/home/user/.local/bin"
|
||||
},
|
||||
|
|
Reference in New Issue
Block a user