Sha256: e871b698dc7966be1f24cd3d874a90a4ad26537114d3d63c70d22eb6041a084d
Contents?: true
Size: 918 Bytes
Versions: 1
Compression:
Stored size: 918 Bytes
Contents
#!/bin/bash -e # If we're running in jenkins, there will be a conjur.identity file # with Conjur creds in it. Otherwise, assume the user's netrc has # them. if [[ -f /etc/conjur.identity ]]; then netrc=/etc/conjur.identity else netrc=$HOME/.netrc fi : ${CONJUR_APPLIANCE_URL=https://conjur-master-v2.itp.conjur.net/api} export CONJUR_APPLIANCE_URL [[ -f "$HOME/.debifyrc" ]] && rc_arg="-v $HOME/.debifyrc:/root/.debifyrc:ro" # mounting docker socket is required because subcommands launch # containers tty=$(tty -s && echo "-t" || true) docker run -i $tty --rm \ -e GLI_DEBUG -e DEBUG -e CONJUR_APPLIANCE_URL \ -e ARTIFACTORY_USER -e ARTIFACTORY_PASSWORD \ -v $PWD:$PWD -w $PWD \ -v /var/run/docker.sock:/var/run/docker.sock \ -v ${netrc}:/root/.netrc:ro \ ${rc_arg} \ ${DEBIFY_ENTRYPOINT+--entrypoint $DEBIFY_ENTRYPOINT} \ ${DEBIFY_IMAGE-registry.tld/conjurinc/debify:@@DEBIFY_VERSION@@} "$@"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
conjur-debify-1.7.3 | distrib/docker-debify |