Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
parity-signer
Commits
8c853815
Commit
8c853815
authored
Aug 15, 2018
by
ddorgan
Committed by
Alexey
Aug 15, 2018
Browse files
Adding android sdk docker image.
parent
c0b1a982
Changes
1
Hide whitespace changes
Inline
Side-by-side
docker/Dockerfile
0 → 100644
View file @
8c853815
FROM
parity/parity-android
MAINTAINER
Parity Technologies <admin@parity.io>
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/
*
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment