Sha256: f2996ebe50b9a78d3742f0061c2b291bb14bcbd42dab5775d287cbe7aa746ccf
Contents?: true
Size: 522 Bytes
Versions: 11
Compression:
Stored size: 522 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 if [ $# -eq 0 ]; then COMMAND=bash else COMMAND=$@ fi set -x exec docker run -ti --env-file ~/env-file.txt "$CONTAINER_IMAGE" $COMMAND
Version data entries
11 entries across 11 versions & 1 rubygems