Skip to content

Instantly share code, notes, and snippets.

@ropnop
Created July 18, 2019 01:06
Show Gist options
  • Save ropnop/887383ea8539f4e528ec10ee947bbcc1 to your computer and use it in GitHub Desktop.
Save ropnop/887383ea8539f4e528ec10ee947bbcc1 to your computer and use it in GitHub Desktop.
Impacket Dockerfile
FROM python:2.7-alpine
RUN apk --update --no-cache add \
zlib-dev \
musl-dev \
libc-dev \
gcc \
libffi-dev \
openssl-dev && \
rm -rf /var/cache/apk/*
RUN mkdir -p /opt/impacket
COPY . /opt/impacket
WORKDIR /opt/impacket
RUN pip install .
WORKDIR /opt/impacket/examples
CMD ["python"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment