mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 07:30:24 +00:00
19 lines
No EOL
364 B
Bash
19 lines
No EOL
364 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
trap "sleep 1; continue" ERR
|
|
|
|
while ! docker cp my-container:/path/to/file websoft9-apphub:/websoft9/credentials; do
|
|
sleep 1
|
|
done
|
|
|
|
|
|
while ! docker cp my-container:/path/to/file websoft9-apphub:/path/to/credentials; do
|
|
sleep 1
|
|
done
|
|
|
|
|
|
while ! docker cp my-container:/path/to/file websoft9-apphub:/path/to/credentials; do
|
|
sleep 1
|
|
done |