2016-09-20 06:35:37 +02:00
|
|
|
FROM debian:jessie
|
|
|
|
MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
|
|
|
|
2016-09-20 19:17:15 +02:00
|
|
|
RUN apt-get update && apt-get install -y curl && \
|
2016-09-20 06:35:37 +02:00
|
|
|
sed -i "s/httpredir.debian.org/`curl -s -D - http://httpredir.debian.org/demo/debian/ | awk '/^Link:/ { print $2 }' | sed -e 's@<http://\(.*\)/debian/>;@\1@g'`/" /etc/apt/sources.list
|
|
|
|
|
2016-09-20 19:17:15 +02:00
|
|
|
RUN apt-get update && apt-get -y install \
|
|
|
|
automake \
|
|
|
|
autogen \
|
|
|
|
bash \
|
|
|
|
build-essential \
|
|
|
|
bzip2 \
|
|
|
|
ca-certificates \
|
|
|
|
curl \
|
|
|
|
file \
|
|
|
|
git \
|
|
|
|
gzip \
|
|
|
|
libcurl4-openssl-dev \
|
|
|
|
libssl-dev \
|
|
|
|
make \
|
|
|
|
ncurses-dev \
|
|
|
|
pkg-config \
|
|
|
|
libtool \
|
|
|
|
python \
|
|
|
|
rsync \
|
|
|
|
sed \
|
|
|
|
bison \
|
|
|
|
flex \
|
|
|
|
tar \
|
|
|
|
vim \
|
|
|
|
wget \
|
|
|
|
runit \
|
|
|
|
xz-utils && \
|
2016-09-20 06:35:37 +02:00
|
|
|
apt-get -y clean
|
|
|
|
|
|
|
|
#include "common.docker"
|
2016-10-31 04:57:04 +01:00
|
|
|
|
|
|
|
# Build-time metadata as defined at http://label-schema.org
|
|
|
|
ARG BUILD_DATE
|
|
|
|
ARG IMAGE
|
|
|
|
ARG VCS_REF
|
|
|
|
ARG VCS_URL
|
|
|
|
LABEL org.label-schema.build-date=$BUILD_DATE \
|
|
|
|
org.label-schema.name=$IMAGE \
|
|
|
|
org.label-schema.vcs-ref=$VCS_REF \
|
|
|
|
org.label-schema.vcs-url=$VCS_URL \
|
|
|
|
org.label-schema.schema-version="1.0"
|