Loading Dockerfile +7 −12 Original line number Diff line number Diff line Loading @@ -203,18 +203,13 @@ RUN apt-get install -y android-sdk-libsparse-utils bc bison bsdmainutils build-e zip zlib1g-dev # Install Python 2.7 for legacy device support RUN apt-get install -y build-essential zlib1g-dev libncurses5-dev libgdbm-dev \ libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev libbz2-dev RUN cd /tmp && \ wget https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tgz && \ tar xzf Python-2.7.18.tgz && \ cd Python-2.7.18 && \ ./configure --prefix=/usr/local --enable-shared --enable-optimizations && \ make -j$(nproc) && \ make altinstall && \ ln -sf /usr/local/bin/python2.7 /usr/bin/python2 && \ cd / && rm -rf /tmp/Python-2.7.18* RUN wget http://archive.ubuntu.com/ubuntu/pool/universe/p/python2.7/python2.7_2.7.18-13ubuntu1_amd64.deb && \ wget http://archive.ubuntu.com/ubuntu/pool/universe/p/python2.7/libpython2.7-stdlib_2.7.18-13ubuntu1_amd64.deb && \ wget http://archive.ubuntu.com/ubuntu/pool/universe/p/python2.7/python2.7-minimal_2.7.18-13ubuntu1_amd64.deb && \ wget http://archive.ubuntu.com/ubuntu/pool/universe/p/python2.7/libpython2.7-minimal_2.7.18-13ubuntu1_amd64.deb && \ dpkg -i *.deb || apt-get install -f -y && \ rm -f *.deb && \ ln -sf /usr/bin/python2.7 /usr/bin/python2 RUN curl https://storage.googleapis.com/git-repo-downloads/repo > /usr/local/bin/repo RUN chmod a+x /usr/local/bin/repo Loading Dockerfile.community +7 −12 Original line number Diff line number Diff line Loading @@ -186,18 +186,13 @@ RUN apt-get install -y android-sdk-libsparse-utils bc bison bsdmainutils build-e zip zlib1g-dev # Install Python 2.7 for legacy device support RUN apt-get install -y build-essential zlib1g-dev libncurses5-dev libgdbm-dev \ libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev libbz2-dev RUN cd /tmp && \ wget https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tgz && \ tar xzf Python-2.7.18.tgz && \ cd Python-2.7.18 && \ ./configure --prefix=/usr/local --enable-shared --enable-optimizations && \ make -j$(nproc) && \ make altinstall && \ ln -sf /usr/local/bin/python2.7 /usr/bin/python2 && \ cd / && rm -rf /tmp/Python-2.7.18* RUN wget http://archive.ubuntu.com/ubuntu/pool/universe/p/python2.7/python2.7_2.7.18-13ubuntu1_amd64.deb && \ wget http://archive.ubuntu.com/ubuntu/pool/universe/p/python2.7/libpython2.7-stdlib_2.7.18-13ubuntu1_amd64.deb && \ wget http://archive.ubuntu.com/ubuntu/pool/universe/p/python2.7/python2.7-minimal_2.7.18-13ubuntu1_amd64.deb && \ wget http://archive.ubuntu.com/ubuntu/pool/universe/p/python2.7/libpython2.7-minimal_2.7.18-13ubuntu1_amd64.deb && \ dpkg -i *.deb || apt-get install -f -y && \ rm -f *.deb && \ ln -sf /usr/bin/python2.7 /usr/bin/python2 RUN curl https://storage.googleapis.com/git-repo-downloads/repo > /usr/local/bin/repo RUN chmod a+x /usr/local/bin/repo Loading Loading
Dockerfile +7 −12 Original line number Diff line number Diff line Loading @@ -203,18 +203,13 @@ RUN apt-get install -y android-sdk-libsparse-utils bc bison bsdmainutils build-e zip zlib1g-dev # Install Python 2.7 for legacy device support RUN apt-get install -y build-essential zlib1g-dev libncurses5-dev libgdbm-dev \ libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev libbz2-dev RUN cd /tmp && \ wget https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tgz && \ tar xzf Python-2.7.18.tgz && \ cd Python-2.7.18 && \ ./configure --prefix=/usr/local --enable-shared --enable-optimizations && \ make -j$(nproc) && \ make altinstall && \ ln -sf /usr/local/bin/python2.7 /usr/bin/python2 && \ cd / && rm -rf /tmp/Python-2.7.18* RUN wget http://archive.ubuntu.com/ubuntu/pool/universe/p/python2.7/python2.7_2.7.18-13ubuntu1_amd64.deb && \ wget http://archive.ubuntu.com/ubuntu/pool/universe/p/python2.7/libpython2.7-stdlib_2.7.18-13ubuntu1_amd64.deb && \ wget http://archive.ubuntu.com/ubuntu/pool/universe/p/python2.7/python2.7-minimal_2.7.18-13ubuntu1_amd64.deb && \ wget http://archive.ubuntu.com/ubuntu/pool/universe/p/python2.7/libpython2.7-minimal_2.7.18-13ubuntu1_amd64.deb && \ dpkg -i *.deb || apt-get install -f -y && \ rm -f *.deb && \ ln -sf /usr/bin/python2.7 /usr/bin/python2 RUN curl https://storage.googleapis.com/git-repo-downloads/repo > /usr/local/bin/repo RUN chmod a+x /usr/local/bin/repo Loading
Dockerfile.community +7 −12 Original line number Diff line number Diff line Loading @@ -186,18 +186,13 @@ RUN apt-get install -y android-sdk-libsparse-utils bc bison bsdmainutils build-e zip zlib1g-dev # Install Python 2.7 for legacy device support RUN apt-get install -y build-essential zlib1g-dev libncurses5-dev libgdbm-dev \ libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev libbz2-dev RUN cd /tmp && \ wget https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tgz && \ tar xzf Python-2.7.18.tgz && \ cd Python-2.7.18 && \ ./configure --prefix=/usr/local --enable-shared --enable-optimizations && \ make -j$(nproc) && \ make altinstall && \ ln -sf /usr/local/bin/python2.7 /usr/bin/python2 && \ cd / && rm -rf /tmp/Python-2.7.18* RUN wget http://archive.ubuntu.com/ubuntu/pool/universe/p/python2.7/python2.7_2.7.18-13ubuntu1_amd64.deb && \ wget http://archive.ubuntu.com/ubuntu/pool/universe/p/python2.7/libpython2.7-stdlib_2.7.18-13ubuntu1_amd64.deb && \ wget http://archive.ubuntu.com/ubuntu/pool/universe/p/python2.7/python2.7-minimal_2.7.18-13ubuntu1_amd64.deb && \ wget http://archive.ubuntu.com/ubuntu/pool/universe/p/python2.7/libpython2.7-minimal_2.7.18-13ubuntu1_amd64.deb && \ dpkg -i *.deb || apt-get install -f -y && \ rm -f *.deb && \ ln -sf /usr/bin/python2.7 /usr/bin/python2 RUN curl https://storage.googleapis.com/git-repo-downloads/repo > /usr/local/bin/repo RUN chmod a+x /usr/local/bin/repo Loading