Fix for Docker Build
parent
f66fa44068
commit
359dac9173
|
@ -4,7 +4,34 @@ Dockerfile
|
|||
*.pyo
|
||||
*.pyd
|
||||
__pycache__
|
||||
*_valid_accounts.txt
|
||||
.vscode
|
||||
.venv
|
||||
.github
|
||||
build
|
||||
bin
|
||||
dist
|
||||
*.egg-info
|
||||
cme/data/powersploit/Recon/Dictionaries
|
||||
cme/data/powersploit/Exfiltration/NTFSParser
|
||||
cme/data/powersploit/CodeExecution/Invoke-ReflectivePEInjection_Resources
|
||||
cme/data/powersploit/Exfiltration/LogonUser
|
||||
cme/data/powersploit/Tests
|
||||
cme/data/netripper/DLL
|
||||
cme/data/netripper/Metasploit
|
||||
cme/data/netripper/NetRipper
|
||||
cme/data/netripper/Win32
|
||||
cme/data/netripper/Release
|
||||
cme/data/netripper/minhook
|
||||
cme/data/netripper/x64
|
||||
cme/data/netripper/*.pdf
|
||||
cme/data/netripper/*.sln
|
||||
cme/data/invoke-vnc/winvnc
|
||||
cme/data/invoke-vnc/vncdll
|
||||
cme/data/invoke-vnc/pebytes.ps1
|
||||
cme/data/invoke-vnc/ReflectiveDLLInjection
|
||||
cme/data/invoke-vnc/*.py
|
||||
cme/data/invoke-vnc/*.bat
|
||||
cme/data/invoke-vnc/*.msbuild
|
||||
cme/data/invoke-vnc/*.sln
|
||||
cme/data/RID-Hijacking/modules
|
||||
cme/data/RID-Hijacking/slides
|
14
Dockerfile
14
Dockerfile
|
@ -1,4 +1,4 @@
|
|||
FROM python:3-alpine
|
||||
FROM python:3.8-slim
|
||||
|
||||
ENV LANG=C.UTF-8
|
||||
ENV LC_ALL=C.UTF-8
|
||||
|
@ -6,15 +6,11 @@ ENV PIP_NO_CACHE_DIR=off
|
|||
|
||||
WORKDIR /usr/src/crackmapexec
|
||||
|
||||
RUN apk update && \
|
||||
apk add --no-cache build-base libffi-dev libxml2-dev libxslt-dev openssl-dev openssl
|
||||
|
||||
COPY requirements.txt .
|
||||
|
||||
RUN pip3 install --no-cache-dir -r requirements.txt
|
||||
RUN apt-get update && \
|
||||
apt-get install -y libffi-dev libxml2-dev libxslt-dev libssl-dev openssl
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN python setup.py install
|
||||
RUN pip install .
|
||||
|
||||
ENTRYPOINT [ "cme" ]
|
||||
ENTRYPOINT [ "cme" ]
|
|
@ -75,4 +75,4 @@ ipython = "^7.18.1"
|
|||
|
||||
[build-system]
|
||||
requires = ["poetry>=0.12"]
|
||||
build-backend = "poetry.masonry.api"
|
||||
build-backend = "poetry.masonry.api"
|
Loading…
Reference in New Issue