1
0
mirror of https://github.com/rancher/os-kernel.git synced 2025-09-12 12:59:14 +00:00

Move the download URL value to the Dockerfile

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2016-11-14 15:34:18 +10:00
parent ca8d2fa47c
commit b966389256
2 changed files with 4 additions and 2 deletions

View File

@@ -12,5 +12,9 @@ ENV SHELL /bin/bash
ENV HOME ${DAPPER_SOURCE}
WORKDIR ${DAPPER_SOURCE}
ENV KERNEL_TAG=Ubuntu-4.4.0-47.68-rancher1
ENV KERNEL_URL=https://github.com/rancher/linux/archive/${KERNEL_TAG}.tar.gz
ENV KERNEL_SHA1=9e93ea7fc7acf9988572c1961a32ddc17e042b50
ENTRYPOINT ["./scripts/entry"]
CMD ["ci"]

View File

@@ -1,8 +1,6 @@
#!/bin/bash
set -e
: ${KERNEL_URL:="https://github.com/rancher/linux/archive/Ubuntu-4.4.0-47.68-rancher1.tar.gz"}
: ${KERNEL_SHA1:="9e93ea7fc7acf9988572c1961a32ddc17e042b50"}
: ${ARTIFACTS:=$(pwd)/assets}
: ${BUILD:=/usr/src}
: ${CONFIG:=$(pwd)/config}