Created
January 16, 2014 10:32
-
-
Save pjvds/8452793 to your computer and use it in GitHub Desktop.
Dockerfile for Adobe AIR SDK
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
FROM ubuntu | |
ENV AIR_HOME /opt/air_sdk_3.9 | |
ENV JVM_HOME /opt/jvm | |
RUN apt-get update | |
RUN apt-get upgrade -y | |
RUN apt-get install wget unzip software-properties-common python-software-properties -y | |
# Install Adobe Air SDK | |
RUN mkdir -p $AIR_HOME | |
RUN cd $AIR_HOME ; wget http://airdownload.adobe.com/air/win/download/latest/AIRSDK_Compiler.zip | |
RUN cd $AIR_HOME ; unzip AIRSDK_Compiler.zip | |
RUN echo "PATH=\"$AIR_HOME/bin:$PATH\"" | tee /etc/environment | |
# Install Java | |
RUN apt-get install python-software-properties curl wget -y | |
RUN add-apt-repository ppa:webupd8team/java -y | |
RUN apt-get update | |
RUN echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections | |
RUN apt-get install oracle-java7-installer -y | |
# Set java environment variables | |
RUN apt-get install oracle-java7-set-default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment