Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
3165682
Added Android Extra Repos to enable compile of https://github.com/pho…
May 10, 2016
64fe270
Add git to enable phonegap to grap plugins from github
May 10, 2016
fa17de4
Some adjustments to build phonegap with Java 8 and all Android Extra …
nmaas87 May 10, 2016
7441079
Update Dockerfile
nmaas87 May 10, 2016
b806e39
ANT to Version 1.9.7
nmaas87 May 10, 2016
98dca78
ANT to Version 1.9.7
nmaas87 May 10, 2016
11ce37f
node.js to Version 4.4.4
nmaas87 May 10, 2016
a7fe8c5
Added phonegap 6.2.2
nmaas87 Jun 19, 2016
89194da
Fixed errors for phonegap 4.x build
Oct 25, 2016
927e242
Added Phonegap 6.4.2.
nmaas87 Dec 18, 2016
40c583c
Changed android-sdk to Version 25
nmaas87 Dec 18, 2016
339fcef
Fixed typo
nmaas87 Dec 18, 2016
ee0e4d6
Fixed stuff
nmaas87 Dec 18, 2016
261ccdd
Cleanup Repo
nmaas87 Dec 18, 2016
3b0ee1d
Remove npm upgrade on phonegap 6.4.2 because npm upgrade breaks npm
nmaas87 Dec 19, 2016
fe8cc64
Corrected wrong build_tools_version
nmaas87 Dec 19, 2016
15d6997
Added phonegap 6.5.0
nmaas87 Jun 4, 2017
f9c8e07
Added android-sdk 26.0.2
nmaas87 Jun 4, 2017
f875ca9
Update README.md
nmaas87 Jun 4, 2017
7c020fb
Added android-sdk 26.0.2
nmaas87 Jun 4, 2017
60b5b7e
Added android-sdk 25.2.5
nmaas87 Jun 4, 2017
06b84ed
Update Dockerfile
nmaas87 Jun 4, 2017
3d90d86
ant to 1.10.1 and latest openjdk-8 from official repo
nmaas87 Jun 4, 2017
23cf416
Merge branch 'master' of https://github.com/nmaas87/webratio-docker
nmaas87 Jun 4, 2017
b0a4a7e
Update README.md
nmaas87 Jun 4, 2017
15ded72
Updated android-sdk, phonegap and ant
nmaas87 Mar 4, 2018
ead0f7e
Changed baseversion
nmaas87 Mar 5, 2018
b0fe78a
Removed Java Build and changed Ant Build from 1 year old Oracle Java …
Mar 13, 2018
9ae8e72
Updated Android SDK to 26.1.1
Mar 13, 2018
fb8edbb
Fix1
nmaas87 Mar 13, 2018
28dfe5a
Change android-sdk for phonegap 6.5.2
nmaas87 Mar 13, 2018
2de061c
Updates!
nmaas87 Mar 13, 2018
25ce6df
Deleted cordova (never used) and tried to update 6.5.2
nmaas87 Mar 13, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Docker Images
Webratio-Docker Images
=================
[Docker](https://www.docker.com/) images mantained by [WebRatio] (https://www.webratio.com)
All rights by https://www.webratio.com, just a clone of https://github.com/webratio/docker for personal adjustments.
14 changes: 12 additions & 2 deletions android-sdk/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Gitblit Dockerfile
## Dockerfile

This repository contains **Dockerfile** of [Android SDK](https://developer.android.com/sdk/) for [Docker](https://www.docker.com/)'s [build](https://registry.hub.docker.com/u/webratio/android-sdk/) published to the public [Docker Hub](https://hub.docker.com/).

Expand All @@ -7,4 +7,14 @@ This repository contains **Dockerfile** of [Android SDK](https://developer.andro
1. Install [Docker](https://www.docker.com/).

2. Pull the image
* `docker pull webratio/android-sdk`
* `docker pull nmaas87/webratio-android-sdk:r26.1.1`

### Infos
#### SDK Tools Link
https://developer.android.com/studio/releases/sdk-tools.html
https://androidsdkoffline.blogspot.de/p/android-sdk-tools.html
#### SDK Build Tools Link
https://developer.android.com/studio/releases/build-tools.html
https://androidsdkoffline.blogspot.de/p/android-sdk-build-tools.html
#### node.js Releases
https://nodejs.org/dist/
56 changes: 34 additions & 22 deletions android-sdk/Dockerfile → android-sdk/r23.0.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,22 +1,34 @@
FROM webratio/ant

# Installs i386 architecture required for running 32 bit Android tools
RUN dpkg --add-architecture i386 && \
apt-get update -y && \
apt-get install -y libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 && \
rm -rf /var/lib/apt/lists/* && \
apt-get autoremove -y && \
apt-get clean

# Installs Android SDK
ENV ANDROID_SDK_FILENAME android-sdk_r23.0.2-linux.tgz
ENV ANDROID_SDK_URL http://dl.google.com/android/${ANDROID_SDK_FILENAME}
ENV ANDROID_API_LEVELS android-15,android-16,android-17,android-18,android-19,android-20,android-21
ENV ANDROID_BUILD_TOOLS_VERSION 21.1.0
ENV ANDROID_HOME /opt/android-sdk-linux
ENV PATH ${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
RUN cd /opt && \
wget -q ${ANDROID_SDK_URL} && \
tar -xzf ${ANDROID_SDK_FILENAME} && \
rm ${ANDROID_SDK_FILENAME} && \
echo y | android update sdk --no-ui -a --filter tools,platform-tools,${ANDROID_API_LEVELS},build-tools-${ANDROID_BUILD_TOOLS_VERSION}
FROM nmaas87/webratio-ant

# Installs i386 architecture required for running 32 bit Android tools
RUN dpkg --add-architecture i386 && \
apt-get update -y && \
apt-get install -y git-core libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 && \
rm -rf /var/lib/apt/lists/* && \
apt-get autoremove -y && \
apt-get clean

# Installs Android SDK
ENV ANDROID_SDK_FILENAME android-sdk_r23.0.2-linux.tgz
ENV ANDROID_SDK_URL http://dl.google.com/android/${ANDROID_SDK_FILENAME}
ENV ANDROID_API_LEVELS android-15,android-16,android-17,android-18,android-19,android-20,android-21
ENV ANDROID_BUILD_TOOLS_VERSION 21.1.0
ENV ANDROID_HOME /opt/android-sdk-linux
ENV PATH ${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
RUN cd /opt && \
wget -q ${ANDROID_SDK_URL} && \
tar -xzf ${ANDROID_SDK_FILENAME} && \
rm ${ANDROID_SDK_FILENAME} && \
echo y | android update sdk --no-ui -a --filter tools,platform-tools,${ANDROID_API_LEVELS},build-tools-${ANDROID_BUILD_TOOLS_VERSION} && \
echo y | android update sdk --no-ui --all --filter "extra-android-support" && \
echo y | android update sdk --no-ui --all --filter "extra-android-m2repository" && \
echo y | android update sdk --no-ui --all --filter "extra-google-m2repository"

# Installs Node.js
ENV NODE_VERSION 4.4.4
RUN cd && \
wget -q http://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.gz && \
tar -xzf node-v${NODE_VERSION}-linux-x64.tar.gz && \
mv node-v${NODE_VERSION}-linux-x64 /opt/node && \
rm node-v${NODE_VERSION}-linux-x64.tar.gz
ENV PATH ${PATH}:/opt/node/bin
20 changes: 16 additions & 4 deletions android-sdk/r24.4.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,24 +1,36 @@
FROM webratio/ant
FROM nmaas87/webratio-ant

ENV ANDROID_SDK_VERSION r24.4.1
ENV ANDROID_BUILD_TOOLS_VERSION 23.0.3

# Installs i386 architecture required for running 32 bit Android tools
RUN dpkg --add-architecture i386 && \
apt-get update -y && \
apt-get install -y libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 && \
apt-get install -y git-core libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 && \
rm -rf /var/lib/apt/lists/* && \
apt-get autoremove -y && \
apt-get clean

# Installs Android SDK
ENV ANDROID_SDK_FILENAME android-sdk_${ANDROID_SDK_VERSION}-linux.tgz
ENV ANDROID_SDK_URL http://dl.google.com/android/${ANDROID_SDK_FILENAME}
ENV ANDROID_API_LEVELS android-15,android-16,android-17,android-18,android-19,android-20,android-21,android-22,android-23
ENV ANDROID_API_LEVELS android-15,android-16,android-17,android-18,android-19,android-20,android-21,android-22,android-23
ENV ANDROID_HOME /opt/android-sdk-linux
ENV PATH ${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
RUN cd /opt && \
wget -q ${ANDROID_SDK_URL} && \
tar -xzf ${ANDROID_SDK_FILENAME} && \
rm ${ANDROID_SDK_FILENAME} && \
echo y | android update sdk --no-ui -a --filter tools,platform-tools,${ANDROID_API_LEVELS},build-tools-${ANDROID_BUILD_TOOLS_VERSION}
echo y | android update sdk --no-ui -a --filter tools,platform-tools,${ANDROID_API_LEVELS},build-tools-${ANDROID_BUILD_TOOLS_VERSION} && \
echo y | android update sdk --no-ui --all --filter "extra-android-support" && \
echo y | android update sdk --no-ui --all --filter "extra-android-m2repository" && \
echo y | android update sdk --no-ui --all --filter "extra-google-m2repository"

# Installs Node.js
ENV NODE_VERSION 4.4.4
RUN cd && \
wget -q http://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.gz && \
tar -xzf node-v${NODE_VERSION}-linux-x64.tar.gz && \
mv node-v${NODE_VERSION}-linux-x64 /opt/node && \
rm node-v${NODE_VERSION}-linux-x64.tar.gz
ENV PATH ${PATH}:/opt/node/bin
37 changes: 37 additions & 0 deletions android-sdk/r25.2.4/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
FROM nmaas87/webratio-ant

ENV ANDROID_SDK_VERSION r25.2.4
ENV ANDROID_BUILD_TOOLS_VERSION 25.0.2

# everything after build tools 23.0.1 is 64bit only: http://stackoverflow.com/questions/38096225/automatically-accept-all-sdk-licences
RUN apt-get update -y && \
apt-get install -y git-core libc6 libncurses5 libstdc++6 lib32z1 unzip && \
rm -rf /var/lib/apt/lists/* && \
apt-get autoremove -y && \
apt-get clean

# Installs Android SDK
ENV ANDROID_SDK_FILENAME tools_${ANDROID_SDK_VERSION}-linux.zip
ENV ANDROID_SDK_URL http://dl.google.com/android/repository/${ANDROID_SDK_FILENAME}
ENV ANDROID_API_LEVELS android-15,android-16,android-17,android-18,android-19,android-20,android-21,android-22,android-23,android-24,android-25
ENV ANDROID_HOME /opt/android-sdk-linux
ENV PATH ${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
RUN cd /opt && \
mkdir android-sdk-linux && \
cd /opt/android-sdk-linux && \
wget -q ${ANDROID_SDK_URL} && \
unzip ${ANDROID_SDK_FILENAME} && \
rm ${ANDROID_SDK_FILENAME} && \
echo y | android update sdk --no-ui -a --filter tools,platform-tools,${ANDROID_API_LEVELS},build-tools-${ANDROID_BUILD_TOOLS_VERSION} && \
echo y | android update sdk --no-ui --all --filter "extra-android-support" && \
echo y | android update sdk --no-ui --all --filter "extra-android-m2repository" && \
echo y | android update sdk --no-ui --all --filter "extra-google-m2repository"

# Installs Node.js
ENV NODE_VERSION 6.9.2
RUN cd && \
wget -q http://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.gz && \
tar -xzf node-v${NODE_VERSION}-linux-x64.tar.gz && \
mv node-v${NODE_VERSION}-linux-x64 /opt/node && \
rm node-v${NODE_VERSION}-linux-x64.tar.gz
ENV PATH ${PATH}:/opt/node/bin
37 changes: 37 additions & 0 deletions android-sdk/r25.2.5/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
FROM nmaas87/webratio-ant

ENV ANDROID_SDK_VERSION r25.2.5
ENV ANDROID_BUILD_TOOLS_VERSION 25.0.2

# everything after build tools 23.0.1 is 64bit only: http://stackoverflow.com/questions/38096225/automatically-accept-all-sdk-licences
RUN apt-get update -y && \
apt-get install -y git-core libc6 libncurses5 libstdc++6 lib32z1 unzip && \
rm -rf /var/lib/apt/lists/* && \
apt-get autoremove -y && \
apt-get clean

# Installs Android SDK
ENV ANDROID_SDK_FILENAME tools_${ANDROID_SDK_VERSION}-linux.zip
ENV ANDROID_SDK_URL http://dl.google.com/android/repository/${ANDROID_SDK_FILENAME}
ENV ANDROID_API_LEVELS android-15,android-16,android-17,android-18,android-19,android-20,android-21,android-22,android-23,android-24,android-25
ENV ANDROID_HOME /opt/android-sdk-linux
ENV PATH ${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
RUN cd /opt && \
mkdir android-sdk-linux && \
cd /opt/android-sdk-linux && \
wget -q ${ANDROID_SDK_URL} && \
unzip ${ANDROID_SDK_FILENAME} && \
rm ${ANDROID_SDK_FILENAME} && \
echo y | android update sdk --no-ui -a --filter tools,platform-tools,${ANDROID_API_LEVELS},build-tools-${ANDROID_BUILD_TOOLS_VERSION} && \
echo y | android update sdk --no-ui --all --filter "extra-android-support" && \
echo y | android update sdk --no-ui --all --filter "extra-android-m2repository" && \
echo y | android update sdk --no-ui --all --filter "extra-google-m2repository"

# Installs Node.js
ENV NODE_VERSION 6.9.5
RUN cd && \
wget -q http://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.gz && \
tar -xzf node-v${NODE_VERSION}-linux-x64.tar.gz && \
mv node-v${NODE_VERSION}-linux-x64 /opt/node && \
rm node-v${NODE_VERSION}-linux-x64.tar.gz
ENV PATH ${PATH}:/opt/node/bin
47 changes: 47 additions & 0 deletions android-sdk/r26.1.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
FROM nmaas87/webratio-ant

ENV ANDROID_SDK_VERSION r26.1.1
ENV ANDROID_SDK_BUILD 4333796
ENV ANDROID_BUILD_TOOLS_VERSION 27.0.3

# everything after build tools 23.0.1 is 64bit only: http://stackoverflow.com/questions/38096225/automatically-accept-all-sdk-licences
RUN apt-get update -y && \
apt-get install -y git-core libc6 libncurses5 libstdc++6 lib32z1 unzip && \
rm -rf /var/lib/apt/lists/* && \
apt-get autoremove -y && \
apt-get clean

# Installs Android SDK
ENV ANDROID_SDK_FILENAME sdk-tools-linux-${ANDROID_SDK_BUILD}.zip
ENV ANDROID_SDK_URL http://dl.google.com/android/repository/${ANDROID_SDK_FILENAME}
ENV ANDROID_API_LEVELS android-15,android-16,android-17,android-18,android-19,android-20,android-21,android-22,android-23,android-24,android-25,android-26,android-27
ENV ANDROID_HOME /opt/android-sdk-linux
ENV PATH ${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
RUN cd /opt && \
mkdir android-sdk-linux && \
cd /opt/android-sdk-linux && \
wget -q ${ANDROID_SDK_URL} && \
unzip ${ANDROID_SDK_FILENAME} && \
rm ${ANDROID_SDK_FILENAME} && \
yes | tools/bin/sdkmanager --licenses && \
tools/bin/sdkmanager tools platform-tools "platforms;android-15" "platforms;android-16" "platforms;android-17" "platforms;android-18" "platforms;android-19" "platforms;android-20" "platforms;android-21" "platforms;android-22" "platforms;android-23" "platforms;android-24" "platforms;android-25" "platforms;android-26" "platforms;android-27" "extras;android;m2repository" "extras;google;m2repository" "build-tools;27.0.3"

# Installs Node.js
ENV NODE_VERSION 9.8.0
RUN cd && \
wget -q http://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.gz && \
tar -xzf node-v${NODE_VERSION}-linux-x64.tar.gz && \
mv node-v${NODE_VERSION}-linux-x64 /opt/node && \
rm node-v${NODE_VERSION}-linux-x64.tar.gz
ENV PATH ${PATH}:/opt/node/bin

# Install Gradle
ENV GRADLE_VERSION 4.6
RUN mkdir /opt/gradle && \
cd /opt/gradle && \
wget -q http://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip && \
unzip gradle-*-bin.zip && \
mv gradle-*/* . && \
rm gradle-*-bin.zip && \
rm -rf gradle-*
ENV PATH ${PATH}:/opt/gradle/bin
11 changes: 0 additions & 11 deletions ant/1.9.4/Dockerfile

This file was deleted.

11 changes: 0 additions & 11 deletions ant/1.9.6/Dockerfile

This file was deleted.

22 changes: 11 additions & 11 deletions ant/1.9.5/Dockerfile → ant/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM webratio/java:7
# Installs Ant
ENV ANT_VERSION 1.9.5
RUN cd && \
wget -q http://www.us.apache.org/dist//ant/binaries/apache-ant-${ANT_VERSION}-bin.tar.gz && \
tar -xzf apache-ant-${ANT_VERSION}-bin.tar.gz && \
mv apache-ant-${ANT_VERSION} /opt/ant && \
rm apache-ant-${ANT_VERSION}-bin.tar.gz
ENV ANT_HOME /opt/ant
ENV PATH ${PATH}:/opt/ant/bin
FROM openjdk:8-jdk

# Installs Ant
ENV ANT_VERSION 1.10.2
RUN cd && \
wget -q http://www.us.apache.org/dist//ant/binaries/apache-ant-${ANT_VERSION}-bin.tar.gz && \
tar -xzf apache-ant-${ANT_VERSION}-bin.tar.gz && \
mv apache-ant-${ANT_VERSION} /opt/ant && \
rm apache-ant-${ANT_VERSION}-bin.tar.gz
ENV ANT_HOME /opt/ant
ENV PATH ${PATH}:/opt/ant/bin
30 changes: 17 additions & 13 deletions ant/1.9.6/README.md → ant/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
## Gitblit Dockerfile

This repository contains **Dockerfile** of [Apache Ant](http://ant.apache.org/) for [Docker](https://www.docker.com/)'s [build](https://registry.hub.docker.com/u/webratio/ant/) published to the public [Docker Hub](https://hub.docker.com/).

### Installation

1. Install [Docker](https://www.docker.com/).

2. Pull the image
* `docker pull webratio/ant`
* `docker pull webratio/ant:1.9.4`
* `docker pull webratio/ant:1.9.5`
* `docker pull webratio/ant:1.9.6`
## Dockerfile

This repository contains **Dockerfile** of [Apache Ant](http://ant.apache.org/) for [Docker](https://www.docker.com/)'s [build](https://registry.hub.docker.com/u/webratio/ant/) published to the public [Docker Hub](https://hub.docker.com/).

### Installation

1. Install [Docker](https://www.docker.com/).

2. Pull the image
* `docker pull nmaas87/webratio-ant`

### Info
#### Platform
Currently using OpenJDK 8 from Docker Hub and Ant 1.10.2

#### Link for Apache Ant files
http://www.us.apache.org/dist//ant/binaries/
18 changes: 0 additions & 18 deletions cordova/3.5.0-0.2.7/Dockerfile

This file was deleted.

18 changes: 0 additions & 18 deletions cordova/3.6.3-0.2.13/Dockerfile

This file was deleted.

18 changes: 0 additions & 18 deletions cordova/4.0.1/Dockerfile

This file was deleted.

Loading