forked from rharter/android-drone
-
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
0 additions
and
12 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 |
---|---|---|
@@ -1,30 +1,18 @@ | ||
# Android development environment for drone based on Ubuntu 14.04 LTS. | ||
# version 0.0.1 | ||
|
||
# Start with Ubuntu 14.04 LTS. | ||
FROM ubuntu:14.04 | ||
|
||
MAINTAINER Ryan Harter <[email protected]> | ||
|
||
# Never ask for confirmations | ||
ENV DEBIAN_FRONTEND noninteractive | ||
RUN echo "debconf shared/accepted-oracle-license-v1-1 select true" | debconf-set-selections | ||
RUN echo "debconf shared/accepted-oracle-license-v1-1 seen true" | debconf-set-selections | ||
|
||
# First, install add-apt-repository and bzip2 | ||
RUN apt-get update | ||
RUN apt-get -y install software-properties-common python-software-properties bzip2 unzip openssh-client git lib32stdc++6 lib32z1 | ||
|
||
# Add oracle-jdk6 to repositories | ||
RUN add-apt-repository ppa:webupd8team/java | ||
|
||
# Update apt | ||
RUN apt-get update | ||
|
||
# Install oracle-jdk7 | ||
RUN apt-get -y install oracle-java7-installer | ||
|
||
# Install android sdk | ||
RUN wget http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz | ||
RUN tar -xvzf android-sdk_r24.4.1-linux.tgz | ||
RUN mv android-sdk-linux /usr/local/android-sdk | ||
|