mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-01-03 13:44:27 +01:00
common: Introduce "common.debian"
This will facilitate the configuration of other images based on debian but *NOT* depending on the dockcross/base image.
This commit is contained in:
parent
8077008a10
commit
46cef1a33a
@ -1,35 +1,7 @@
|
|||||||
FROM debian:jessie
|
FROM debian:jessie
|
||||||
MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
||||||
|
|
||||||
RUN REPO=http://cdn-fastly.deb.debian.org && \
|
#include "common.debian"
|
||||||
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"
|
#include "common.docker"
|
||||||
|
|
||||||
|
4
Makefile
4
Makefile
@ -101,8 +101,8 @@ manylinux-x86.test: manylinux-x86
|
|||||||
#
|
#
|
||||||
# base
|
# base
|
||||||
#
|
#
|
||||||
Dockerfile: Dockerfile.in common.docker
|
Dockerfile: Dockerfile.in common.docker common.debian
|
||||||
sed '/common.docker/ r common.docker' Dockerfile.in > Dockerfile
|
sed -e '/common.docker/ r common.docker' -e '/common.debian/ r common.debian' Dockerfile.in > Dockerfile
|
||||||
|
|
||||||
base: Dockerfile imagefiles/
|
base: Dockerfile imagefiles/
|
||||||
$(DOCKER) build -t $(ORG)/base \
|
$(DOCKER) build -t $(ORG)/base \
|
||||||
|
29
common.debian
Normal file
29
common.debian
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
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
|
Loading…
Reference in New Issue
Block a user