Skip to content

Commit

Permalink
Update devcontainers
Browse files Browse the repository at this point in the history
- setuptools support
- pre-compile PyBitmessage
  • Loading branch information
PeterSurda committed Mar 3, 2024
1 parent 19ec364 commit 498b218
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 \
Expand Down
1 change: 1 addition & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit 498b218

Please sign in to comment.