Giter Site home page Giter Site logo

docker-python's Introduction

Docker Container with Python configured

  • Several usefull package are installed.
  • SSH server is configured
  • Install all the python packages from requirements.txt located into the user directory

Starting Container

When the container start all those action is done

  • The locale is generated. Its value is into CONTAINER_LOCALE (default is en_US.UTF-8)
  • One user is added.
    • Its name is defined in CONTAINER_USER_NAME (default is olive).
    • Its password is defined in CONTAINER_USER_PASSWORD (default is test).
    • Its userid is defined in CONTAINER_USER_UID (default is 1000).
    • Its groupid is defined in CONTAINER_USER_GID (default is 1000).
    • One ssh key is downloaded and added has autorized_key
    • A folder is created in the user directory named django
  • Bash is customized with personal prompt and aliases. File are downloaded form the URL saved into those variables
    • CONTAINER_URL_BASH_ALIASES
    • CONTAINER_URL_BASH_PROMPT
  • Ssh key is downloaded form CONTAINER_URL_SSH_KEY

Next configuration

Every script which have to be run after the first start of the container have to be into the /usr/local/script/entry-point.d/ folder

docker-python's People

Contributors

nconder avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.