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