2015-07-23 18:53:01 +05:00
|
|
|
FROM debian:jessie
|
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get -y dist-upgrade && \
|
|
|
|
apt-get -y install locales sudo vim less curl wget git rsync build-essential syslinux isolinux xorriso \
|
2015-09-18 20:58:42 +05:00
|
|
|
libblkid-dev libmount-dev libselinux1-dev cpio genisoimage qemu-kvm python-pip ca-certificates
|
|
|
|
RUN ln -s /usr/bin/genisoimage /usr/bin/mkisofs
|
2015-07-23 18:53:01 +05:00
|
|
|
RUN locale-gen en_US.UTF-8
|
2015-09-20 00:11:59 +05:00
|
|
|
ENV LANG en_US.UTF-8
|
|
|
|
ENV LC_ALL en_US.UTF-8
|
|
|
|
ENV TERM xterm
|
2015-11-04 14:48:07 +05:00
|
|
|
RUN curl -sL https://get.docker.com/builds/Linux/x86_64/docker-1.8.3 > /usr/bin/docker
|
2015-09-20 00:11:59 +05:00
|
|
|
RUN chmod +x /usr/bin/docker
|
2015-07-23 18:53:01 +05:00
|
|
|
|
2015-09-04 14:59:06 +05:00
|
|
|
RUN pip install tox
|
|
|
|
|
2015-10-14 19:56:42 +05:00
|
|
|
RUN curl -sSL https://storage.googleapis.com/golang/go1.4.3.linux-amd64.tar.gz | tar -xz -C /usr/local
|
2015-09-20 00:11:59 +05:00
|
|
|
ENV PATH $PATH:/usr/local/go/bin
|
2015-07-23 18:53:01 +05:00
|
|
|
|
|
|
|
RUN mkdir -p /go/src /go/bin && chmod -R 777 /go
|
|
|
|
ENV GOPATH /go
|
|
|
|
ENV PATH /go/bin:$PATH
|
|
|
|
|
|
|
|
RUN go get github.com/tools/godep
|
|
|
|
|
2015-10-12 19:50:17 +08:00
|
|
|
WORKDIR /go/src/github.com/rancher/os
|