forked from ncopa/docker-phantomjs-alpine
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
19 additions
and
4 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
NAME=artifacts/phantomjs-v2.11-alpine.tar.bz2 | ||
NAME=artifacts/phantomjs-alpine-x86_64.tar.bz2 | ||
all: $(NAME) | ||
|
||
$(NAME): | ||
docker build -t phantomjs-alpine . && docker run --rm -i -v `pwd`/artifacts:/artifacts phantomjs-alpine:latest cp /root/phantomjs.tar.bz2 /$(NAME) | ||
|
||
|
||
clean: | ||
rm phantomjs-v2.11-alpine.tar.bz2 | ||
rm artifacts/* 2>/dev/null || echo "clean" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# phantomjs on Alpine Linux x86_64 | ||
|
||
This repository uses docker to build a phantomjs docker images. | ||
|
||
Also it can be used to get a binary release for phantomjs for Alpine Linux x86_64. | ||
|
||
## Building a binary release | ||
|
||
``` | ||
make | ||
``` | ||
|
||
The release will be saved to `artifacts/phantomjs-alpine.tar.bz2`. | ||
|
1925b5e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does-it still work for you ? 'make' can't build completely for me.
Thanks
1925b5e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope its broken. I didn't pursue phantomjs on alpine any further and used a different libc compliant base image.
1925b5e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, have you a docker working for phantomjs ?
I've used this : https://hub.docker.com/r/wernight/phantomjs/
Work on my dev pc (fedora) doesnt work on alpine linux VPS =/
1925b5e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1925b5e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same behavior with a ubuntu based docker