1
0
mirror of https://github.com/rancher/os.git synced 2025-09-17 23:48:09 +00:00

Move build env to bionic

1. update global dapper base image
3. set XZ_DEFAULTS to use multithreading
This commit is contained in:
niusmallnan
2019-05-17 11:11:26 +08:00
parent 943ecaaa78
commit d7e39c2c75

View File

@@ -1,5 +1,5 @@
FROM ubuntu:16.04
# FROM arm64=aarch64/ubuntu:16.04
FROM ubuntu:bionic
# FROM arm64=arm64v8/ubuntu:bionic
# get the apt-cacher proxy set
ARG APTPROXY=
@@ -94,7 +94,8 @@ ARG PROXMOXVE_SERVICE=false
# Set up environment and export all ARGS as ENV
ENV ARCH=${ARCH} \
HOST_ARCH=${HOST_ARCH}
HOST_ARCH=${HOST_ARCH} \
XZ_DEFAULTS="-T0"
ENV BUILD_DOCKER_URL=BUILD_DOCKER_URL_${ARCH} \
BUILD_DOCKER_URL_amd64=${BUILD_DOCKER_URL_amd64} \