2020-09-20 15:23:16 +00:00
|
|
|
FROM python:3.8-slim
|
2020-06-29 15:54:00 +00:00
|
|
|
|
|
|
|
ENV LANG=C.UTF-8
|
|
|
|
ENV LC_ALL=C.UTF-8
|
|
|
|
ENV PIP_NO_CACHE_DIR=off
|
|
|
|
|
|
|
|
WORKDIR /usr/src/crackmapexec
|
|
|
|
|
2020-09-20 15:23:16 +00:00
|
|
|
RUN apt-get update && \
|
2021-08-01 22:01:27 +00:00
|
|
|
apt-get install -y libffi-dev libxml2-dev libxslt-dev libssl-dev openssl autoconf g++ python3-dev
|
2020-06-29 15:54:00 +00:00
|
|
|
|
|
|
|
COPY . .
|
|
|
|
|
2020-09-20 15:23:16 +00:00
|
|
|
RUN pip install .
|
2020-06-29 15:54:00 +00:00
|
|
|
|
2021-08-01 22:01:27 +00:00
|
|
|
ENTRYPOINT [ "cme" ]
|