1
0
mirror of https://github.com/rancher/os-kernel.git synced 2025-07-13 13:24:03 +00:00

Use gcc image for dapper build (#54)

This commit is contained in:
niusmallnan 2018-01-26 08:12:26 +08:00 committed by GitHub
parent fd486228a7
commit 96b48d2ee1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,8 @@
FROM ubuntu:16.04 FROM niusmallnan/gcc:7.3.0
# FROM arm64=aarch64/ubuntu:16.04 arm=armhf/ubuntu:16.04 # FROM arm64=arm64v8/gcc:7.2
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y build-essential wget libncurses5-dev unzip bc curl python rsync ccache git vim libssl-dev kmod gnupg2 locales && apt-get install -y ccache vim gnupg2 locales bc kmod
# Install dapper # Install dapper
RUN curl -sL https://releases.rancher.com/dapper/latest/dapper-$(uname -s)-$(uname -m | sed 's/arm.*/arm/') > /usr/bin/dapper \ RUN curl -sL https://releases.rancher.com/dapper/latest/dapper-$(uname -s)-$(uname -m | sed 's/arm.*/arm/') > /usr/bin/dapper \