Sha256: 3e12c1d9c2a0d3505c23eea7cfed5547b673a2ca79d541bd5dfb122ec5bd3ded

Contents?: true

Size: 468 Bytes

Versions: 5

Compression:

Stored size: 468 Bytes

Contents

<%
base_image = "/opt/dockly/base_image.tar"
%>

s3_diff_docker_import_base_fn() {
<%= get_from_s3(data[:base_image]) %>
}
s3_diff_docker_import_diff_fn() {
<%= get_from_s3(data[:diff_image]) %>
}
s3_diff_docker_import_base_fn | gunzip -c > "<%= base_image %>"
size=$(stat --format "%s" "<%= base_image %>")
head_size=$(($size - 1024))
(head -c $head_size "<%= base_image %>"; s3_diff_docker_import_diff_fn | gunzip -c) | <%= docker_import(data[:repo], data[:tag]) %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dockly-1.5.15 snippets/s3_diff_docker_import.erb
dockly-1.5.14 snippets/s3_diff_docker_import.erb
dockly-1.5.12 snippets/s3_diff_docker_import.erb
dockly-1.5.10 snippets/s3_diff_docker_import.erb
dockly-1.5.9 snippets/s3_diff_docker_import.erb