A "Best of the Best Practices" (BOBP) guide to developing in Python.
- "Build tools for others that you want to be built for you." - Kenneth Reitz
- "Simplicity is alway better than functionality." - Pieter Hintjens
| FROM gliderlabs/alpine:latest | |
| WORKDIR /myapp | |
| COPY . /myapp | |
| RUN apk-install zlib bash # Keeping this, the rest is just build-dep | |
| RUN apk --update add --virtual build-dependencies build-base zlib-dev autoconf automake \ | |
| && cd netdata.git \ | |
| && addgroup -S netdata \ | |
| && adduser -S -G netdata -s /sbin/nologin -h / netdata \ |
| #!/usr/bin/env python | |
| import code | |
| import sys | |
| import os | |
| import urlparse | |
| from libcloud.compute.types import Provider | |
| from libcloud.compute.providers import get_driver | |
| import libcloud.security as sec |