Outdated Browser Demo app
This repository contains a Docker image hosting the demo application from Outdated Browser library.
The purpose of this repository is to ease the testing of the library across
multiple web browsers.
In order to use the Docker image, you simply have to run the following command:
$ docker run --rm -p 80:80 yourcursus/outdated-browser-demo
which will download the
latest version and run it on port 80 so that you can
now point your favorite web browser to the http://localhost/ URL.
In case you would like to test a different version than the latest one,
you can give a version number after the image name (Docker image tag).
$ docker run --rm -p 80:80 yourcursus/outdated-browser-demo:1.0.2
Build your own version
As a good and lazy developer, I have written a shell script which takes care of
everything for you.
- Ensure to have the required dependencies:
$ apt-get install unzip wget -y
- Update the
VERSIONfile with the version
you want to build.
Then run the
$ ./make_new_release.sh Downloading Demo app version 1.1.3 ... Unziping tmp/1.1.3.zip ... Saving Demo app files ... Sending build context to Docker daemon 73.22 kB Step 1 : FROM nginx ---> eb4a127a1188 Step 2 : ADD demo /usr/share/nginx/html ---> Using cache ---> c834d3995664 Successfully built c834d3995664 Docker image yourcursus/outdated-browser-demo:1.1.3 ready. You should now be able to run it with the following command: $ docker run --rm -p 80:80 yourcursus/outdated-browser-demo:1.1.3 Then open your favorite web browser and point to http://localhost/
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request