safasd
This commit is contained in:
parent
af5fe587b6
commit
9a9b8dc588
3 changed files with 4 additions and 3 deletions
|
|
@ -33,7 +33,8 @@ RUN mkdir -p /config && \
|
||||||
echo "installing phantomjs" && \
|
echo "installing phantomjs" && \
|
||||||
apk add --no-cache gcompat && \
|
apk add --no-cache gcompat && \
|
||||||
cd /defaults && \
|
cd /defaults && \
|
||||||
tar -xj phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
ls -lh && \
|
||||||
|
tar -xjvf phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
||||||
mv /defaults/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/share/phantomjs && \
|
mv /defaults/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/share/phantomjs && \
|
||||||
rm -rf /defaults/phantomjs-2.1.1-linux-x86_64 && \
|
rm -rf /defaults/phantomjs-2.1.1-linux-x86_64 && \
|
||||||
rm phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
rm phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ RUN mkdir -p /config && \
|
||||||
if [[ $(uname -m) == "x86_64" ]]; then \
|
if [[ $(uname -m) == "x86_64" ]]; then \
|
||||||
echo "installing phantomjs" && \
|
echo "installing phantomjs" && \
|
||||||
cd /defaults && \
|
cd /defaults && \
|
||||||
tar -xvf phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
tar -xjvf phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
||||||
mv /defaults/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/bin/phantomjs && \
|
mv /defaults/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/bin/phantomjs && \
|
||||||
rm -rf /defaults/phantomjs-2.1.1-linux-x86_64 && \
|
rm -rf /defaults/phantomjs-2.1.1-linux-x86_64 && \
|
||||||
rm phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
rm phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ RUN mkdir -p /config && \
|
||||||
if [[ $(uname -m) == "x86_64" ]]; then \
|
if [[ $(uname -m) == "x86_64" ]]; then \
|
||||||
echo "installing phantomjs" && \
|
echo "installing phantomjs" && \
|
||||||
cd /defaults && \
|
cd /defaults && \
|
||||||
tar -xvf phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
tar -xjvf phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
||||||
mv /defaults/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/bin/phantomjs && \
|
mv /defaults/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/bin/phantomjs && \
|
||||||
rm -rf /defaults/phantomjs-2.1.1-linux-x86_64 && \
|
rm -rf /defaults/phantomjs-2.1.1-linux-x86_64 && \
|
||||||
rm phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
rm phantomjs-2.1.1-linux-x86_64.tar.bz2 && \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue