Commit 8c853815 authored by ddorgan's avatar ddorgan Committed by Alexey
Browse files

Adding android sdk docker image.

parent c0b1a982
FROM parity/parity-android
MAINTAINER Parity Technologies <>
WORKDIR /build
RUN apt-get install -y nodejs
RUN mkdir -p /opt/android-sdk && cd /opt/android-sdk && wget -q && unzip -q *tools*linux*.zip && rm *tools*linux*.zip
RUN echo "deb xenial main" | tee /etc/apt/sources.list.d/webupd8team-java.list
RUN echo "deb-src xenial main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
RUN apt-key adv --keyserver hkp:// --recv-keys EEA14886
RUN apt-get update
RUN echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | sudo debconf-set-selections
RUN apt-get install -y oracle-java8-installer
RUN yes | /opt/android-sdk/tools/bin/sdkmanager --licenses || true
# cleanup
RUN apt-get autoremove -y
RUN apt-get clean -y
RUN rm -rf /tmp/* /var/tmp/*
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment