Skip to content

Commit

Permalink
Merge pull request EmpireProject#1065 from interhack86/master
Browse files Browse the repository at this point in the history
Fix Docker
  • Loading branch information
xorrior authored Apr 21, 2018
2 parents b99bc0e + a3ec06e commit 1193518
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ RUN apt-get update && apt-get install -qy \
apt-utils \
lsb-core \
python2.7 \
python-dev \
&& ln -s /usr/bin/python2.7 /usr/bin/python \
&& rm -rf /var/lib/apt/lists/*

# build empire from source
Expand All @@ -55,8 +53,6 @@ RUN git clone --depth=1 -b dev https://github.com/EmpireProject/Empire.git /opt/
cd /opt/Empire/setup/ && \
./install.sh && \
rm -rf /opt/Empire/data/empire*

RUN python2.7 /opt/Empire/setup/setup_database.py
WORKDIR "/opt/Empire"
ENTRYPOINT ["./empire"]

# -----END OF BUILD-----
CMD ["python2.7", "empire"]

0 comments on commit 1193518

Please sign in to comment.