commit
1193518a8a
|
@ -45,8 +45,6 @@ RUN apt-get update && apt-get install -qy \
|
||||||
apt-utils \
|
apt-utils \
|
||||||
lsb-core \
|
lsb-core \
|
||||||
python2.7 \
|
python2.7 \
|
||||||
python-dev \
|
|
||||||
&& ln -s /usr/bin/python2.7 /usr/bin/python \
|
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# build empire from source
|
# build empire from source
|
||||||
|
@ -55,8 +53,6 @@ RUN git clone --depth=1 -b dev https://github.com/EmpireProject/Empire.git /opt/
|
||||||
cd /opt/Empire/setup/ && \
|
cd /opt/Empire/setup/ && \
|
||||||
./install.sh && \
|
./install.sh && \
|
||||||
rm -rf /opt/Empire/data/empire*
|
rm -rf /opt/Empire/data/empire*
|
||||||
|
RUN python2.7 /opt/Empire/setup/setup_database.py
|
||||||
WORKDIR "/opt/Empire"
|
WORKDIR "/opt/Empire"
|
||||||
ENTRYPOINT ["./empire"]
|
CMD ["python2.7", "empire"]
|
||||||
|
|
||||||
# -----END OF BUILD-----
|
|
||||||
|
|
Loading…
Reference in New Issue