mirror of
https://github.com/trustedsec/trevorc2
synced 2026-06-08 17:57:56 +00:00
New Dockerfile and requirements
This commit is contained in:
+19
-6
@@ -1,12 +1,25 @@
|
||||
FROM alpine:edge
|
||||
FROM ubuntu:20.04
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
python3 \
|
||||
python3-pip \
|
||||
openssl \
|
||||
ca-certificates \
|
||||
python3-dev \
|
||||
build-essential \
|
||||
wget \
|
||||
git \
|
||||
&& \
|
||||
rm -fr /var/lib/apt/lists/*
|
||||
|
||||
RUN git clone https://github.com/trustedsec/trevorc2.git
|
||||
|
||||
RUN apk --update add --no-cache python3 py3-requests py3-pip openssl ca-certificates
|
||||
RUN apk --update add --virtual build-dependencies python3-dev build-base wget git \
|
||||
&& git clone https://github.com/trustedsec/trevorc2.git
|
||||
WORKDIR trevorc2
|
||||
|
||||
#COPY requirements.txt .
|
||||
COPY requirements.txt .
|
||||
|
||||
RUN pip3 install -r requirements.txt
|
||||
|
||||
EXPOSE 80 443
|
||||
ENTRYPOINT ["python3", "trevorc2_server.py"]
|
||||
CMD ["python3", "trevorc2_server.py"]
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
bleach
|
||||
tornado
|
||||
pycrypto
|
||||
pycryptodome
|
||||
requests
|
||||
|
||||
Reference in New Issue
Block a user