You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
|
FROM alpine
|
|
|
|
|
|
|
|
MAINTAINER Elbert Alias <elbert@alias.io>
|
|
|
|
|
|
|
|
EXPOSE 8080
|
|
|
|
|
|
|
|
ENV WAPPALYZER_DIR=/opt/wappalyzer
|
|
|
|
|
|
|
|
RUN apk update && apk add --no-cache \
|
|
|
|
bash \
|
|
|
|
curl \
|
|
|
|
fontconfig \
|
|
|
|
nodejs \
|
|
|
|
nodejs-npm \
|
|
|
|
optipng \
|
|
|
|
zip
|
|
|
|
|
|
|
|
RUN mkdir -p /usr/share && \
|
|
|
|
cd /usr/share \
|
|
|
|
&& curl -L https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 | tar xj \
|
|
|
|
&& ln -s /usr/share/phantomjs/phantomjs /usr/bin/phantomjs
|
|
|
|
|
|
|
|
RUN apk del \
|
|
|
|
curl
|
|
|
|
|
|
|
|
RUN npm i -g \
|
|
|
|
jsonlint-cli \
|
|
|
|
manifoldjs \
|
|
|
|
svg2png-many \
|
|
|
|
yarn
|
|
|
|
|
|
|
|
RUN mkdir -p $WAPPALYZER_DIR
|
|
|
|
|
|
|
|
WORKDIR $WAPPALYZER_DIR
|
|
|
|
|
|
|
|
CMD [ "./bin/run" ]
|