Skip to content
This repository was archived by the owner on Nov 10, 2018. It is now read-only.

Commit 9603d21

Browse files
committed
Apply PR opentainers/runc#70 to test docker 1.8.0-rc3 on RPi.
1 parent 7f44f87 commit 9603d21

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

builder.sh

+7
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ export AUTO_GOPATH=1
2828
# see https://github.com/vishvananda/netns/pull/8
2929
#sed -i s/374/375/g /src/docker/vendor/src/github.com/vishvananda/netns/netns_linux_arm.go
3030
#---FIX
31+
#+++FIX: 1.8.0-rc3
32+
echo "Applying PR opencontainers/runc#70 ..."
33+
pushd vendor/src/github.com/opencontainers
34+
rm -rf runc
35+
git clone --depth 1 --branch seccomp https://github.com/mheon/runc.git
36+
popd
37+
#---FIX
3138
GOARM=6 ./hack/make.sh dynbinary
3239

3340
# create tarball with Docker binaries

run-builder.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh -x
22
mkdir -p dist
33
touch .env
4-
docker run --rm=true --env-file=.env -v $(pwd)/builder.sh:/builder.sh -v $(pwd)/pkg-debian:/pkg-debian -v $(pwd)/dist:/dist hypriot/rpi-docker-builder /builder.sh 1.7.1 -2
4+
docker run --rm=true --env-file=.env -v $(pwd)/builder.sh:/builder.sh -v $(pwd)/pkg-debian:/pkg-debian -v $(pwd)/dist:/dist hypriot/rpi-docker-builder /builder.sh 1.8.0-rc3 -1

0 commit comments

Comments
 (0)