snippets/s3_docker_import.erb in dockly-2.0.1 vs snippets/s3_docker_import.erb in dockly-2.0.2
- old
+ new
@@ -1,8 +1,8 @@
s3_docker_import_fn() {
s3_path="<%= data[:s3_url] %>"
log "fetch: starting to fetch $s3_path"
- aws s3 cp --quiet $s3_path - 2> >(log)
+ timeout 600 aws s3 cp --quiet $s3_path - 2> >(log)
log "fetch: successfully fetched $s3_path"
}
docker_import() {
repo=<%= data[:repo] %>