mirror of
https://github.com/rancher/os.git
synced 2025-07-10 13:23:03 +00:00
25 lines
850 B
Docker
25 lines
850 B
Docker
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 \
|
|
libblkid-dev libmount-dev libselinux1-dev cpio genisoimage qemu-kvm python-pip ca-certificates
|
|
RUN ln -s /usr/bin/genisoimage /usr/bin/mkisofs
|
|
RUN locale-gen en_US.UTF-8
|
|
ENV LANG en_US.UTF-8
|
|
ENV LC_ALL en_US.UTF-8
|
|
ENV TERM xterm
|
|
RUN curl -sL https://get.docker.com/builds/Linux/x86_64/docker-1.9.1 > /usr/bin/docker
|
|
RUN chmod +x /usr/bin/docker
|
|
|
|
RUN pip install tox
|
|
|
|
RUN curl -sSL https://storage.googleapis.com/golang/go1.5.2.linux-amd64.tar.gz | tar -xz -C /usr/local
|
|
ENV PATH $PATH:/usr/local/go/bin
|
|
|
|
RUN mkdir -p /go/src /go/bin && chmod -R 777 /go
|
|
ENV GOPATH /go
|
|
ENV PATH /go/bin:$PATH
|
|
ENV GO15VENDOREXPERIMENT 1
|
|
|
|
WORKDIR /go/src/github.com/rancher/os
|