Sha256: 4b38cead1adf0d494d0d75de9b9cedaf12623383ca74805deae7d10e3df77c93

Contents?: true

Size: 620 Bytes

Versions: 17

Compression:

Stored size: 620 Bytes

Contents

# Note:
#   Docker needs for ssh privatekey to fetch data from github
#   To do that, this script creates hardlink to privatekey
#
# WARNING
#   privatekey MUST NOT be protected by password
#   If your `id_rsa` is protected by password, you need to create new key without password (for example, `id_rsa_git`)
#   And use that key when running this script:
#     `bin/docker-init id_rsa_git`

if test "$@"
then privatekey_name="$@"
else privatekey_name="id_rsa"
fi

echo "> Trying to create link 'privatekey'"
ln ~/.ssh/$privatekey_name privatekey && echo "> Created link to '~/.ssh/$privatekey_name' named 'privatekey'"

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
cyclone_lariat-1.0.0 bin/docker/privatekey
cyclone_lariat-1.0.0.rc9 bin/docker/privatekey
cyclone_lariat-1.0.0.rc8 bin/docker/privatekey
cyclone_lariat-1.0.0.rc7 bin/docker/privatekey
cyclone_lariat-1.0.0.rc6 bin/docker/privatekey
cyclone_lariat-1.0.0.rc5 bin/docker/privatekey
cyclone_lariat-1.0.0.rc4 bin/docker/privatekey
cyclone_lariat-1.0.0.rc3 bin/docker/privatekey
cyclone_lariat-1.0.0.rc2 bin/docker/privatekey
cyclone_lariat-1.0.0.rc1 bin/docker/privatekey
cyclone_lariat-0.4.0 bin/docker/privatekey
cyclone_lariat-0.3.10 bin/docker/privatekey
cyclone_lariat-0.3.9 bin/docker/privatekey
cyclone_lariat-0.3.8 bin/docker/privatekey
cyclone_lariat-0.3.7 bin/docker/privatekey
cyclone_lariat-0.3.6 bin/docker/privatekey
cyclone_lariat-0.3.5 bin/docker/privatekey