Sha256: 917771a32a98d1e29dbc29b60e3c962bdb1fab1d6d21dc72c53abe051d47c52c

Contents?: true

Size: 450 Bytes

Versions: 7

Compression:

Stored size: 450 Bytes

Contents

#!/bin/bash -x

CONTAINER_IMAGE=$(cat /tmp/sonic/docker-image.txt)

# Got all the info in memory now we need os we can clean the files
# rm -rf /tmp/sonic
# Cannot remove files until we are done using the --env-file

# Maybe do this later.  But will need to have sonic path be unique.
# at -f "/tmp/sonic/seppuku.sh" now + 1.minute

cp /tmp/sonic/env-file.txt ~/
rm -rf /tmp/sonic

exec docker run -ti --env-file ~/env-file.txt $CONTAINER_IMAGE "$@"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sonic-screwdriver-1.4.0 lib/bash_scripts/docker-run.sh
sonic-screwdriver-1.3.2 lib/bash_scripts/docker-run.sh
sonic-screwdriver-1.3.0 lib/bash_scripts/docker-run.sh
sonic-screwdriver-1.2.0 lib/bash_scripts/docker-run.sh
sonic-screwdriver-1.1.1 lib/bash_scripts/docker-run.sh
sonic-screwdriver-1.1.0 lib/bash_scripts/docker-run.sh
sonic-screwdriver-1.0.0 lib/bash_scripts/docker-run.sh