Created
June 17, 2016 05:42
-
-
Save elico/21a7be30bf9a9507ba90b0f16926bf83 to your computer and use it in GitHub Desktop.
debian squeeze buildnode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:squeeze | |
ENV DEBIAN_FRONTEND noninteractive | |
ADD sources.list /etc/apt/sources.list | |
RUN echo 'Acquire::Check-Valid-Until "false";' >/etc/apt/apt.conf.d/90ignore-release-date && apt-get update \ | |
&& apt-get install -y wget \ | |
&& wget -O - http://packages.vyos.net/vyos-release.gpg | apt-key add - \ | |
&& echo "deb http://archive.debian.org/debian-backports/ squeeze-backports main" > /etc/apt/sources.list.d/bp.list \ | |
&& apt-get update \ | |
&& apt-get -t squeeze-backports install -y squashfs-tools \ | |
&& echo "" >/etc/apt/sources.list.d/bp.list \ | |
&& apt-get update \ | |
&& apt-get install -y autoconf dpkg-dev syslinux make lsb-release fakechroot devscripts \ | |
&& apt-get install -y kernel-package \ | |
&& apt-get clean | |
RUN mkdir /build | |
WORKDIR /build | |
CMD ["/bin/bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deb http://archive.debian.org/debian squeeze main | |
deb http://archive.debian.org/debian squeeze-lts main | |
deb http://security.debian.org/ squeeze/updates main | |
deb-src http://security.debian.org/ squeeze/updates main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment