docker-template 0.13.0 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/docker/template/version.rb +1 -1
- data/templates/rootfs/alpine.erb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a185a9ae1813e75fe6700ad37d1afddddb7abb9d
|
4
|
+
data.tar.gz: 23469cd0a8a12e6a574f2fc31bd796205f94e895
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 974e06e36e2177a5372a11e258d24a21c538265d1aeca88387ad1d5a9c41fec46d7272eedf29805a8dbafe6abaa3e97c15fbbd224efaffebe611a01e7866557d
|
7
|
+
data.tar.gz: e9ef4a69ba9423ac09f089d45160c2969797016ccbd2cf0e14e15df8dde0b96f472ce5828ef89783e9b5b12b26f5d2f0f2e7d0b471d7a21fa6db43144c91827e
|
data/templates/rootfs/alpine.erb
CHANGED
@@ -8,7 +8,7 @@ TMPDIR=$(mktemp -d)
|
|
8
8
|
MIRROR_HOST="<%= @meta.mirror_host %>"
|
9
9
|
[ "$MIRROR_HOST" ] || MIRROR_HOST="mirror.envygeeks.io"
|
10
10
|
MIRRORS="\nhttp://$MIRROR_HOST/alpine/<%= @meta.release =~ /^[\d,\.]+$/ ? "v" : "" %><%= @meta.release %>/main"
|
11
|
-
MIRRORS=$MIRRORS"\n@community http://$MIRROR_HOST/alpine/<%= @meta.release =~ /^[\d,\.]+$/ ? "v" : "" %>/community"
|
11
|
+
MIRRORS=$MIRRORS"\n@community http://$MIRROR_HOST/alpine/<%= @meta.release =~ /^[\d,\.]+$/ ? "v" : "" %><%= @meta.release %>/community"
|
12
12
|
MIRRORS=$MIRRORS"\n@testing http://$MIRROR_HOST/alpine/edge/testing"
|
13
13
|
RELEASE_URL="http://$MIRROR_HOST/alpine/<%= @meta.release \
|
14
14
|
=~ /^[\d,\.]+$/ ? "v" : "" %><%= @meta.release %>/main"
|
@@ -63,7 +63,7 @@ ln -sf /run $ROOTFS/var/run
|
|
63
63
|
|
64
64
|
# --
|
65
65
|
|
66
|
-
cleanup $ROOTFS
|
66
|
+
$ROOTFS/usr/bin/cleanup $ROOTFS || true
|
67
67
|
rm -rf $ROOTFS/etc/hosts
|
68
68
|
rm -rf $ROOTFS/etc/resolv.conf
|
69
69
|
tar -zf $TAR_GZ --numeric-owner -C $ROOTFS -c .
|