Added dockerfile
parent
cb32df5a65
commit
193fe94c4a
|
@ -0,0 +1,10 @@
|
||||||
|
tests
|
||||||
|
Dockerfile
|
||||||
|
*.pyc
|
||||||
|
*.pyo
|
||||||
|
*.pyd
|
||||||
|
__pycache__
|
||||||
|
*_valid_accounts.txt
|
||||||
|
.vscode
|
||||||
|
.venv
|
||||||
|
.github
|
|
@ -3,7 +3,7 @@ name: CrackMapExec Tests & Build
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
build:
|
||||||
name: CrackMapExec Tests on ${{ matrix.os }}
|
name: CrackMapExec Tests on ${{ matrix.os }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
FROM python:3-alpine
|
||||||
|
|
||||||
|
ENV LANG=C.UTF-8
|
||||||
|
ENV LC_ALL=C.UTF-8
|
||||||
|
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
|
||||||
|
|
||||||
|
COPY requirements.txt .
|
||||||
|
|
||||||
|
RUN pip3 install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
RUN python setup.py install
|
||||||
|
|
||||||
|
ENTRYPOINT [ "cme" ]
|
Loading…
Reference in New Issue