git clone git://github.com/fd57d8aa59b1574ee7728edf128814d3.git docker-drupal-fpm
cd docker-drupal-fpm
mkdir -p /usr/local/share/dockervolumes/drupal # if you change this folder please update the run.sh
chmod +x run.sh && ./run.sh up
#!/bin/bash | |
# | |
# usage ./clean.docker.registry.sh registryUrl login filterString | |
# | |
# read the password | |
echo -n Password: | |
read -s password | |
user="$2:${password}" |
#!/bin/bash | |
set -x | |
set -e errexit | |
set -o pipefail | |
username="admin-$(echo $RANDOM % 1000 + 1 | bc)" | |
password="$(uuidgen)" # change it | |
rancherServerId=$(docker-machine ip host1) | |
rancherServerPort="8080" |
#!/bin/bash | |
# Downloads and installs the startssl CA certs into the global Java keystore | |
# https://sipb.mit.edu/doc/safe-shell/ | |
set -euf -o pipefail | |
# Check if JAVA_HOME is set | |
if [ "$JAVA_HOME" = "" ] | |
then | |
echo "ERROR: JAVA_HOME must be set." | |
exit 1 |