Sign inSign up

mediadesignpractices/python

By mediadesignpractices

Updated over 8 years ago

Base python build with useful preinstalls

Image
0

5.2K

mediadesignpractices/python repository overview

Using Python via Docker

This directory contains Dockerfile to make it easy to get up and running with Python via Docker.

Running the container

We are using Makefile to simplify docker commands within make commands. You can download the makefile from git.

# curl -O https://raw.githubusercontent.com/mediadesignpractices/docker/master/python/Makefile

Build the container and start a bash

$ make bash

Build the container and start a python shell files in local directory are copied in to the container

$ make python 'myfile.py'

Mount a volume for external data sets

$ make DATA=~/mydata python

Run Python 3

make TAG=python:python3 VERSION=python3 test 
# (or python/bash)

Prints all make tasks

$ make help

Tag summary

Content type

Image

Digest

Size

465.3 MB

Last updated

over 8 years ago

docker pull mediadesignpractices/python