Skip to content

Commit 87d035d

Browse files
authored
Merge pull request #53 from ijc/bump-hashes-lk-v0.2
Bump hashes to LinuxKit v0.2
2 parents f86c7ee + b476564 commit 87d035d

File tree

10 files changed

+41
-25
lines changed

10 files changed

+41
-25
lines changed

pkg/cri-containerd/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM linuxkit/alpine:4584958639b2378246371fe219f33b270667e22e AS build
1+
FROM linuxkit/alpine:cba395fbc278daee841106801aba1e1bd7e0f2f7 AS build
22

33
RUN \
44
apk add \

pkg/kube-e2e-test/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM linuxkit/alpine:4584958639b2378246371fe219f33b270667e22e AS build
1+
FROM linuxkit/alpine:cba395fbc278daee841106801aba1e1bd7e0f2f7 AS build
22

33
# When changing kubernetes_version remember to also update:
44
# - scripts/mk-image-cache-lst and run `make refresh-image-caches` from top-level

pkg/kubelet/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM linuxkit/alpine:4584958639b2378246371fe219f33b270667e22e AS build
1+
FROM linuxkit/alpine:cba395fbc278daee841106801aba1e1bd7e0f2f7 AS build
22

33
# When changing kubernetes_version remember to also update:
44
# - scripts/mk-image-cache-lst and run `make refresh-image-caches` from top-level

pkg/kubernetes-docker-image-cache-common/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM linuxkit/alpine:4584958639b2378246371fe219f33b270667e22e AS build
1+
FROM linuxkit/alpine:cba395fbc278daee841106801aba1e1bd7e0f2f7 AS build
22

33
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
44
RUN apk add --no-cache --initdb -p /out \

pkg/kubernetes-docker-image-cache-control-plane/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM linuxkit/alpine:4584958639b2378246371fe219f33b270667e22e AS build
1+
FROM linuxkit/alpine:cba395fbc278daee841106801aba1e1bd7e0f2f7 AS build
22

33
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
44
RUN apk add --no-cache --initdb -p /out \

scripts/update-linuxkit-hashes.sh

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,19 @@ trap 'if [ -d "$tdir" ] ; then rm -rf $tdir; fi' EXIT
88

99
git clone $lkurl $tdir/lk
1010

11+
case $# in
12+
0) ;;
13+
1)
14+
git -C $tdir/lk reset --hard $1
15+
;;
16+
*)
17+
echo "Invalid arguments" >&2
18+
exit 1
19+
;;
20+
esac
21+
1122
lkrev=$(git -C $tdir/lk show --oneline -s HEAD)
23+
lktag=$(git -C $tdir/lk tag -l --points-at HEAD)
1224

1325
update_hash() {
1426
local tag=$1; shift
@@ -57,6 +69,10 @@ if [ ! -n "$tag" ] ; then
5769
echo "Failed to extract kernel tag" >&2
5870
exit 1
5971
fi
72+
tagmsg=""
73+
if [ -n "$lktag" ] ; then
74+
tagmsg=$(printf "\nTag: %s" $lktag)
75+
fi
6076
# Not update_hash since the tag is not a hash in this case
6177

6278
echo "Updating to $tag"
@@ -71,7 +87,7 @@ email=$(git config --get user.email)
7187
cat >$tdir/commit-msg <<EOF
7288
Updated hashes from https://github.com/linuxkit/linuxkit
7389
74-
Commit: $lkrev
90+
Commit: $lkrev$tagmsg
7591
7692
Signed-off-by: $uname <$email>
7793
EOF

yml/cri-containerd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
- name: cri-containerd
3-
image: linuxkit/cri-containerd:b16c1a3f11b986d8f818d2797920db411ff51ac1
3+
image: linuxkit/cri-containerd:3916819944f841f77d73bc622ccdddf1c5ff99e9
44
cgroupsPath: podruntime/cri-containerd
55
files:
66
- path: /etc/kubelet.sh.conf

yml/docker-master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
services:
22
- name: kubernetes-docker-image-cache-control-plane
3-
image: linuxkit/kubernetes-docker-image-cache-control-plane:a51d847bbf199c0b6e775ad44ab4f2b6e5ea318c
3+
image: linuxkit/kubernetes-docker-image-cache-control-plane:003bc342571352ecdf16f720f841cc923b2e32f0
44
cgroupsPath: podruntime/control-cache

yml/docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ services:
2626
mkdir: ["/var/lib/kubeadm", "/var/lib/cni/conf", "/var/lib/cni/bin", "/var/lib/kubelet-plugins"]
2727
cgroupsPath: podruntime/docker
2828
- name: kubernetes-docker-image-cache-common
29-
image: linuxkit/kubernetes-docker-image-cache-common:7b80d491c364ba035f3eb7dfaa172af251629a49
29+
image: linuxkit/kubernetes-docker-image-cache-common:32f09de29fa8c517e14d8d733f79e467ab5eaf7d
3030
cgroupsPath: podruntime/common-cache
3131
files:
3232
- path: /etc/kubelet.sh.conf

yml/kube.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,46 @@
11
kernel:
2-
image: linuxkit/kernel:4.9.76
2+
image: linuxkit/kernel:4.9.78
33
cmdline: "console=tty0 console=ttyS0"
44
init:
5-
- linuxkit/init:6992bd1308bdfd8af5a74aba293bb53e99b482bd
6-
- linuxkit/runc:abc3f292653e64a2fd488e9675ace19a55ec7023
7-
- linuxkit/containerd:e58a382c33bb509ba3e0e8170dfaa5a100504c5b
8-
- linuxkit/ca-certificates:de21b84d9b055ad9dcecc57965b654a7a24ef8e0
5+
- linuxkit/init:ce4cea7dd517063f84d9f3dc597995a5a9fa50c7
6+
- linuxkit/runc:c3002ef23a6e1bfa911b3b3ff85e67143ec6eb16
7+
- linuxkit/containerd:bcadd1231a1c4f337f14e8d11d5cba06f77e8453
8+
- linuxkit/ca-certificates:0a188e40108b6ece8c2aefdfaaad94acc84368ce
99
onboot:
1010
- name: sysctl
11-
image: linuxkit/sysctl:4c1ef93bb5eb1a877318db4b2daa6768ed002e21
11+
image: linuxkit/sysctl:d58499a8af6988929e2d7da357d5203634f5748e
1212
binds:
1313
- /etc/sysctl.d/01-kubernetes.conf:/etc/sysctl.d/01-kubernetes.conf
1414
readonly: false
1515
- name: sysfs
16-
image: linuxkit/sysfs:1284b4a7061a5cc426425f0fb00748192505a05f
16+
image: linuxkit/sysfs:43b21be975bb33fe8c60b1f005dd354bea265333
1717
- name: dhcpcd
18-
image: linuxkit/dhcpcd:0d59a6cc03412289ef4313f2491ec666c1715cc9
18+
image: linuxkit/dhcpcd:0f90a720d88896fd7a415476ba9b2749d4376d6b
1919
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
2020
- name: metadata
21-
image: linuxkit/metadata:2af15c9f4b0e73515c219b7cc14e6e65e1d4fd6d
21+
image: linuxkit/metadata:b14cfe4ecc8ec42cafc2ca9c6afe2d52f2bf24f4
2222
- name: format
23-
image: linuxkit/format:5a1140cb65e733f26de727fa684fef1326e9d5ab
23+
image: linuxkit/format:55aa87f123be212da4e2229257aac37dad3be8c3
2424
- name: mounts
25-
image: linuxkit/mount:b346ec277b7074e5c9986128a879c10a1d18742b
25+
image: linuxkit/mount:6cdb5653a69586f448698203ed295cd8fbdd579d
2626
command: ["/usr/bin/mountie", "/var/lib/"]
2727
services:
2828
- name: getty
29-
image: linuxkit/getty:22e27189b6b354e1d5d38fc0536a5af3f2adb79f
29+
image: linuxkit/getty:49c4e22cf44edf27ad6aea899153c7d717192c7a
3030
env:
3131
- INSECURE=true
3232
cgroupsPath: systemreserved/getty
3333
- name: rngd
34-
image: linuxkit/rngd:94e01a4b16fadb053455cdc2269c4eb0b39199cd
34+
image: linuxkit/rngd:12dfee0c1f63b98b9e311b5f37d0a18a76b03eba
3535
cgroupsPath: systemreserved/rngd
3636
- name: ntpd
37-
image: linuxkit/openntpd:536e5947607c9e6a6771957c2ff817230cba0d3c
37+
image: linuxkit/openntpd:e4e9073946e29683fc5a09c30e010c41911d36f8
3838
cgroupsPath: systemreserved/ntpd
3939
- name: sshd
40-
image: linuxkit/sshd:ac5e8364e2e9aa8717a3295c51eb60b8c57373d5
40+
image: linuxkit/sshd:4f403fe5ae53dc3e45c8f6972dced9dddf900ae6
4141
cgroupsPath: systemreserved/sshd
4242
- name: kubelet
43-
image: linuxkit/kubelet:ec5627ea06876719cd6aa019050bd46d4189e3e5
43+
image: linuxkit/kubelet:04731d9683fbcde3f3d51f138eb5f2b78a6743d1
4444
cgroupsPath: podruntime/kubelet
4545
files:
4646
- path: etc/linuxkit.yml

0 commit comments

Comments
 (0)