项目作者: zeroc0d3lab

项目描述 :
CentOS Python Docker (Python Container)
高级语言: Python
项目地址: git://github.com/zeroc0d3lab/centos-python.git
创建时间: 2017-10-27T03:09:12Z
项目社区:https://github.com/zeroc0d3lab/centos-python

开源协议:GNU General Public License v2.0

下载


CentOS Python Docker (Python Container)

Build Status GitHub issues GitHub forks GitHub stars GitHub license

This docker image includes:

Features:

  • bash (+ themes)
  • oh-my-zsh (+ themes)
  • tmux (+ themes)
  • python 3.5

Docker Compose

  • Copy env-example to .env
  • Build & running
    1. docker-compose build && docker-compose up
  • Force recreate container
    1. docker-compose build && docker-compose up --force-recreate python
  • Running container only
    1. docker-compose up

Environments

You can run docker-compose for different environment with selected containers

  • Copy env.sh.example to env.sh
  • Change to execute script
    1. chmod a+x env.sh
  • Change environment in env.sh file
    1. ENV="development" # (use: "development" or "production" as selected environment)
    2. CONTAINER_PRODUCTION="..." # (selected containers will be run in production environment)
    3. CONTAINER_DEVELOPMENT="..." # (selected containers will be run in development environment)
  • Running script
    1. ./env.sh

License

GNU General Public License v2