lookyloo/Dockerfile

22 lines
563 B
Docker
Raw Normal View History

2018-05-02 14:21:55 +02:00
FROM ubuntu:bionic
2019-01-23 15:13:29 +01:00
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
2018-03-16 11:05:42 +01:00
RUN apt-get update
RUN apt-get -y upgrade
RUN apt-get -y install git wget python3-pip pwgen
2019-01-23 15:13:29 +01:00
RUN pip3 install pipenv
2019-02-05 14:41:32 +01:00
run git clone https://github.com/antirez/redis.git
run cd redis && git checkout 5.0 && make && cd ..
2018-03-16 11:05:42 +01:00
RUN git clone https://github.com/CIRCL/lookyloo.git
WORKDIR lookyloo
2019-01-23 15:13:29 +01:00
RUN pipenv install
run echo LOOKYLOO_HOME="'`pwd`'" > .env
2018-03-16 11:05:42 +01:00
RUN sed -i "s/SPLASH = 'http:\/\/127.0.0.1:8050'/SPLASH = 'http:\/\/splash:8050'/g" lookyloo/__init__.py
2019-01-23 15:13:29 +01:00
2019-02-05 14:41:32 +01:00
EXPOSE 5200
ENTRYPOINT ["pipenv", "run", "start.py"]