Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/djmaze/docker-phantomjs-static
Static build of phantomjs using Docker
https://github.com/djmaze/docker-phantomjs-static
Last synced: 27 days ago
JSON representation
Static build of phantomjs using Docker
- Host: GitHub
- URL: https://github.com/djmaze/docker-phantomjs-static
- Owner: djmaze
- Created: 2015-08-22T14:55:49.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-23T13:01:24.000Z (over 9 years ago)
- Last Synced: 2024-12-08T20:41:20.586Z (about 1 month ago)
- Language: Shell
- Homepage: https://hub.docker.com/r/mazzolino/phantomjs-static/
- Size: 113 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Static build of PhantomJS using Docker
This Docker image contains a build of [bprodoehl's PhantomJS fork](https://github.com/bprodoehl/phantomjs) with statically built-in dependencies.
## Quickstart
With Docker installed, run the following to get the compiled executable in your local directory:
docker run -v $PWD:/output mazzolino/phantomjs-static
## Building
You can build your own image locally using `build.sh`.
## Testing
There is a script which tests the images built using mainline distribution images from the Docker hub.
After building the image as shown above, run `test.sh` to see the output.
The current results are:
```bash
$ sudo ./test.sh
--- ubuntu:15.04 ---
2.0.0
--- ubuntu:14.04 ---
2.0.0
--- ubuntu:12.04 ---
2.0.0
--- debian:jessie ---
2.0.0
--- debian:wheezy ---
phantomjs: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by phantomjs)
phantomjs: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by phantomjs)
--- centos:7 ---
2.0.0
--- centos:6.6 ---
phantomjs: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by phantomjs)
phantomjs: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by phantomjs)
phantomjs: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by phantomjs)
--- centos:6 ---
phantomjs: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by phantomjs)
phantomjs: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by phantomjs)
phantomjs: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by phantomjs)
--- fedora:22 ---
2.0.0
--- fedora:21 ---
2.0.0
--- fedora:20 ---
2.0.0