This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| !#/bin/bash | |
| # Converts tabs to 4 spaces in all .py files found recursively from | |
| # the directory where it's run | |
| find . -name '*.py' ! -type d -exec bash -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ##################### | |
| # Remove all images # | |
| ##################### | |
| images=($(docker images -q)) | |
| length=${#images[@]} | |
| for (( i=0; i<$length; i++ )); | |
| do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ######################################################## | |
| # Dockerfile to build Python WSGI Application Containers | |
| # Based on Ubuntu | |
| ######################################################## | |
| # Set the base image to Ubuntu | |
| FROM ubuntu | |
| # File Author / Maintainer | |
| MAINTAINER Jose Haro |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ######################################################## | |
| # Dockerfile to build Python WSGI Application Containers | |
| # Based on Ubuntu | |
| ######################################################## | |
| # Set the base image to Ubuntu | |
| FROM ubuntu | |
| # File Author / Maintainer | |
| MAINTAINER Jose Haro |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ######################################################## | |
| # Dockerfile to build Python WSGI Application Containers | |
| # Based on Ubuntu | |
| ######################################################## | |
| # Set the base image to Ubuntu | |
| FROM ubuntu | |
| # File Author / Maintainer | |
| MAINTAINER Jose Haro |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ######################################################## | |
| # Dockerfile to build Python WSGI Application Containers | |
| # Based on Ubuntu | |
| ######################################################## | |
| # Set the base image to Ubuntu | |
| FROM ubuntu | |
| # File Author / Maintainer | |
| MAINTAINER Jose Haro |
NewerOlder