Merge pull request #1065 from interhack86/master

Fix Docker
master
Chris Ross 2018-04-21 13:46:58 -04:00 committed by GitHub
commit 1193518a8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 6 deletions

View File

@ -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-----