forked from novasamatech/parity-signer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM parity/parity-android | ||
MAINTAINER Parity Technologies <[email protected]> | ||
|
||
WORKDIR /build | ||
|
||
RUN apt-get install -y nodejs | ||
RUN mkdir -p /opt/android-sdk && cd /opt/android-sdk && wget -q https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip && unzip -q *tools*linux*.zip && rm *tools*linux*.zip | ||
RUN echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | tee /etc/apt/sources.list.d/webupd8team-java.list | ||
RUN echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list | ||
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --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/* |