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.
35 lines
592 B
35 lines
592 B
FROM alpine
|
|
|
|
LABEL maintainer="elbert@alias.io"
|
|
|
|
ENV WAPPALYZER_DIR=/opt/wappalyzer
|
|
|
|
RUN apk update && apk add --no-cache \
|
|
bash \
|
|
curl \
|
|
fontconfig \
|
|
nodejs-npm \
|
|
optipng \
|
|
zip \
|
|
yarn
|
|
|
|
# Fixes PhantomJS
|
|
# https://github.com/dustinblackman/phantomized
|
|
RUN curl -Ls "https://github.com/dustinblackman/phantomized/releases/download/2.1.1a/dockerized-phantomjs.tar.gz" | tar xz -C /
|
|
|
|
RUN apk del curl
|
|
|
|
RUN npm i -g n npm@latest
|
|
|
|
RUN n stable
|
|
|
|
RUN npm i --unsafe-perm --silent -g \
|
|
jsonlint-cli \
|
|
svg2png-many
|
|
|
|
RUN mkdir -p $WAPPALYZER_DIR
|
|
|
|
WORKDIR $WAPPALYZER_DIR
|
|
|
|
CMD [ "./bin/run" ]
|