From fcc08208bf5212c31d0299a03a3bdb9359ef8f0a Mon Sep 17 00:00:00 2001 From: Francois Date: Tue, 15 Nov 2016 10:50:18 +0100 Subject: [PATCH] update --- phonegap/6.2.7/Dockerfile | 25 ++++++++++++++++++++++++ phonegap/6.2.7/README.md | 40 +++++++++++++++++++++++++++++++++++++++ phonegap/6.3.0/Dockerfile | 25 ++++++++++++++++++++++++ phonegap/6.3.0/README.md | 40 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 130 insertions(+) create mode 100644 phonegap/6.2.7/Dockerfile create mode 100644 phonegap/6.2.7/README.md create mode 100644 phonegap/6.3.0/Dockerfile create mode 100644 phonegap/6.3.0/README.md diff --git a/phonegap/6.2.7/Dockerfile b/phonegap/6.2.7/Dockerfile new file mode 100644 index 0000000..bfbcd0b --- /dev/null +++ b/phonegap/6.2.7/Dockerfile @@ -0,0 +1,25 @@ +FROM webratio/nodejs-with-android-sdk:4.4.1 + +# Installs PhoneGap +# Forces a create and build in order to preload libraries +ENV PHONEGAP_VERSION 6.2.7 +RUN apt-get update -y && \ + apt-get install -y git-core && \ + rm -rf /var/lib/apt/lists/* && \ + apt-get autoremove -y && \ + apt-get clean +RUN npm install -g npm && \ + npm install -g phonegap@${PHONEGAP_VERSION} && \ + npm install -g xmldom && \ + npm install -g xpath && \ + cd /tmp && \ + phonegap create fakeapp && \ + cd /tmp/fakeapp && \ + phonegap build android && \ + cd && \ + rm -rf /tmp/fakeapp + +VOLUME ["/data"] +WORKDIR /data + +EXPOSE 3000 diff --git a/phonegap/6.2.7/README.md b/phonegap/6.2.7/README.md new file mode 100644 index 0000000..030e8c9 --- /dev/null +++ b/phonegap/6.2.7/README.md @@ -0,0 +1,40 @@ +## PhoneGap Dockerfile + +This repository contains **Dockerfile** of [PhoneGap](http://phonegap.com/) for [Docker](https://www.docker.com/)'s [build](https://registry.hub.docker.com/u/webratio/phonegap/) 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/phonegap` + * `docker pull webratio/phonegap:3.5.0` + * `docker pull webratio/phonegap:3.5.0-0.21.18` + * `docker pull webratio/phonegap:3.6.0` + * `docker pull webratio/phonegap:3.6.0-0.21.19` + * `docker pull webratio/phonegap:3.6.3` + * `docker pull webratio/phonegap:3.6.3-0.22.7` + * `docker pull webratio/phonegap:4.0.0` + * `docker pull webratio/phonegap:4.0.0-0.22.7` + * `docker pull webratio/phonegap:4.1.2` + * `docker pull webratio/phonegap:4.1.2-0.22.12` + * `docker pull webratio/phonegap:4.2.0` + * `docker pull webratio/phonegap:4.2.0-0.24.2` + * `docker pull webratio/phonegap:6.0.3` + * `docker pull webratio/phonegap:6.1.0` + * `docker pull webratio/phonegap:6.2.0` + * `docker pull webratio/phonegap:6.2.2` + +### Usage + +#### Run `phonegap create` + + docker run -v :/data webratio/phonegap phonegap create + +#### Run `phonegap serve` + + docker run -d -p :3000 -v :/data webratio/phonegap phonegap serve -p 3000 + +#### Run `phonegap build android` + + docker run -v :/data webratio/phonegap phonegap build android diff --git a/phonegap/6.3.0/Dockerfile b/phonegap/6.3.0/Dockerfile new file mode 100644 index 0000000..f543b8e --- /dev/null +++ b/phonegap/6.3.0/Dockerfile @@ -0,0 +1,25 @@ +FROM webratio/nodejs-with-android-sdk:4.4.1 + +# Installs PhoneGap +# Forces a create and build in order to preload libraries +ENV PHONEGAP_VERSION 6.3.0 +RUN apt-get update -y && \ + apt-get install -y git-core && \ + rm -rf /var/lib/apt/lists/* && \ + apt-get autoremove -y && \ + apt-get clean +RUN npm install -g npm && \ + npm install -g phonegap@${PHONEGAP_VERSION} && \ + npm install -g xmldom && \ + npm install -g xpath && \ + cd /tmp && \ + phonegap create fakeapp && \ + cd /tmp/fakeapp && \ + phonegap build android && \ + cd && \ + rm -rf /tmp/fakeapp + +VOLUME ["/data"] +WORKDIR /data + +EXPOSE 3000 diff --git a/phonegap/6.3.0/README.md b/phonegap/6.3.0/README.md new file mode 100644 index 0000000..030e8c9 --- /dev/null +++ b/phonegap/6.3.0/README.md @@ -0,0 +1,40 @@ +## PhoneGap Dockerfile + +This repository contains **Dockerfile** of [PhoneGap](http://phonegap.com/) for [Docker](https://www.docker.com/)'s [build](https://registry.hub.docker.com/u/webratio/phonegap/) 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/phonegap` + * `docker pull webratio/phonegap:3.5.0` + * `docker pull webratio/phonegap:3.5.0-0.21.18` + * `docker pull webratio/phonegap:3.6.0` + * `docker pull webratio/phonegap:3.6.0-0.21.19` + * `docker pull webratio/phonegap:3.6.3` + * `docker pull webratio/phonegap:3.6.3-0.22.7` + * `docker pull webratio/phonegap:4.0.0` + * `docker pull webratio/phonegap:4.0.0-0.22.7` + * `docker pull webratio/phonegap:4.1.2` + * `docker pull webratio/phonegap:4.1.2-0.22.12` + * `docker pull webratio/phonegap:4.2.0` + * `docker pull webratio/phonegap:4.2.0-0.24.2` + * `docker pull webratio/phonegap:6.0.3` + * `docker pull webratio/phonegap:6.1.0` + * `docker pull webratio/phonegap:6.2.0` + * `docker pull webratio/phonegap:6.2.2` + +### Usage + +#### Run `phonegap create` + + docker run -v :/data webratio/phonegap phonegap create + +#### Run `phonegap serve` + + docker run -d -p :3000 -v :/data webratio/phonegap phonegap serve -p 3000 + +#### Run `phonegap build android` + + docker run -v :/data webratio/phonegap phonegap build android