From 2c4173f1ca7fd4052d3c5d5f0bf19d8a122e7eae Mon Sep 17 00:00:00 2001 From: bigeagle Date: Sun, 11 Dec 2016 02:42:06 +0800 Subject: [PATCH] added Dockerfile --- Dockerfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..dec4a47 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,19 @@ +FROM debian:jessie +MAINTAINER Justin Wong + +RUN echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ jessie main contrib non-free" > /etc/apt/sources.list && \ + echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ jessie-backports main contrib non-free" >> /etc/apt/sources.list && \ + echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ jessie-updates main contrib non-free" >> /etc/apt/sources.list && \ + echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian-security/ jessie/updates main contrib non-free" >> /etc/apt/sources.list + +RUN apt-get update && \ + apt-get install -y wget curl rsync lftp git jq python-dev python-pip yum-utils createrepo python3-dev python3-pip + +RUN pip install --upgrade pip setuptools && \ + pip install bandersnatch==1.11 + +RUN mkdir -p /home/tunasync-scripts +ADD https://storage.googleapis.com/git-repo-downloads/repo /usr/local/bin/aosp-repo +RUN chmod a+x /usr/local/bin/aosp-repo + +CMD /bin/bash