Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gbenson/dead-horse
Docker image for Python 2 work
https://github.com/gbenson/dead-horse
docker python2
Last synced: 3 days ago
JSON representation
Docker image for Python 2 work
- Host: GitHub
- URL: https://github.com/gbenson/dead-horse
- Owner: gbenson
- License: mit
- Created: 2023-07-05T09:43:42.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-24T12:15:51.000Z (10 months ago)
- Last Synced: 2023-11-24T12:36:58.173Z (10 months ago)
- Topics: docker, python2
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/gbenson/python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dead horse
Docker image for Python 2 work.## Usage
`cd` into your project directory, then enter the Python 2 world:
```sh
cd /where/ever
docker run --rm -it --mount type=bind,src=$(pwd),target=/work gbenson/python:2
```
Create a virtual environment:
```sh
virtualenv venv2
. venv2/bin/activate
```
Stop pip complaining all the time:
```sh
pip config set global.no_python_version_warning True
```