Skip to content

Instantly share code, notes, and snippets.

@ticarpi
Created September 2, 2021 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ticarpi/a0e1b058833a5e70e258cf17965a40d1 to your computer and use it in GitHub Desktop.
Save ticarpi/a0e1b058833a5e70e258cf17965a40d1 to your computer and use it in GitHub Desktop.
FROM python:3.8-alpine as compile
WORKDIR /opt
RUN apk add --no-cache git gcc musl-dev python3-dev libffi-dev openssl-dev cargo
ADD . /opt/impacket
WORKDIR /opt/impacket
RUN python3 -m pip install -r requirements.txt
RUN python3 setup.py install
WORKDIR /opt/impacket/examples
ENTRYPOINT ["python3"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment