dockcross/Dockerfile.in
Jean-Christophe Fillion-Robin a68f2b6aa4
base: Optimize image build adding only image and vcs_url metatdata
To avoid dependent images to systematically rebuild, this commit
adds only "static" metatdata to the base image
2016-11-24 13:48:58 -05:00

44 lines
935 B
Docker

FROM debian:jessie
MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
RUN REPO=http://cdn-fastly.deb.debian.org && \
echo "deb $REPO/debian jessie main\ndeb $REPO/debian jessie-updates main\ndeb $REPO/debian-security jessie/updates main" > /etc/apt/sources.list
RUN apt-get update && apt-get -y install \
automake \
autogen \
bash \
build-essential \
bzip2 \
ca-certificates \
curl \
file \
git \
gzip \
make \
ncurses-dev \
pkg-config \
libtool \
python \
rsync \
sed \
bison \
flex \
tar \
vim \
wget \
runit \
xz-utils && \
apt-get -y clean
#include "common.docker"
# Build-time metadata as defined at http://label-schema.org
# Note: To avoid systematic rebuild of dependent images, only
# name and vcs-url are included.
ARG IMAGE
ARG VCS_URL
LABEL org.label-schema.name=$IMAGE \
org.label-schema.vcs-url=$VCS_URL \
org.label-schema.schema-version="1.0"