Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 1.01 KB

README.md

File metadata and controls

32 lines (18 loc) · 1.01 KB

Docker-Pyenv

Install pyenv and two different Pythons in userspace

To sudo or not to sudo

if your user is in the docker group, you don't have to use sudo, otherwise you do.

Build instructions

  • cd into your clone of this project
  • ./svw-build.sh

Validate

** You might want to do this in a virtualenv. If you have virtualenvwrapper installed you can just type mktmpenv and you are in a throw-away virtualenv, that will be deleted when you call deactivate.**

  • cd into your clone of this project
  • pip install -r requirements.txt
  • ./svw-check.py

Docker provides lightweight containers not quite like virtual machines using Linux container technology (LXC).

Pyenv builds different Python versions in Userspace and makes them easily manageable in combination with virtualenvs.

Drop into the Docker container

Type

docker run -it docker-pyenv /bin/bash

to enter a shell inside the docker container