mirror of
https://github.com/rancher/os.git
synced 2025-07-10 13:23:03 +00:00
Merge pull request #474 from imikushin/docker-1.8-rc3
update to docker-1.8.0-rc3
This commit is contained in:
commit
2408fc1231
@ -1,8 +1,8 @@
|
||||
include common.make
|
||||
|
||||
DOCKER_BINARY_URL := https://github.com/rancher/docker/releases/download/v1.8.0-rc2-ros/docker-1.8.0-rc2
|
||||
DOCKER_BINARY_URL := https://github.com/rancher/docker/releases/download/v1.8.0-rc3-ros/docker-1.8.0-rc3
|
||||
KERNEL_URL := https://github.com/rancher/os-kernel/releases/download/Ubuntu-3.19.0-26.27/linux-3.19.8-ckt4-rancher-x86.tar.gz
|
||||
DFS_IMAGE := rancher/docker:1.8.0-rc2
|
||||
DFS_IMAGE := rancher/docker:1.8.0-rc3
|
||||
|
||||
bin/rancheros:
|
||||
mkdir -p $(dir $@)
|
||||
|
@ -1,19 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -ex
|
||||
|
||||
cd $(dirname $0)/..
|
||||
|
||||
. scripts/build-common
|
||||
. scripts/version
|
||||
|
||||
VERSION=${VERSION:?"VERSION not set"}
|
||||
BUILD=${BUILD:?"BUILD not set"}
|
||||
|
||||
|
||||
CONTAINER_KERNEL=$(docker create rancher/os-kernel:${VERSION})
|
||||
cleanup_kernel() {
|
||||
docker rm -v ${CONTAINER_KERNEL}
|
||||
}
|
||||
trap cleanup_kernel EXIT
|
||||
|
||||
docker cp ${CONTAINER_KERNEL}:/kernel ${BUILD} # copies files to ${BUILD}/kernel
|
Loading…
Reference in New Issue
Block a user