blackarch appsdk

This commit is contained in:
Peter Clemenko
2020-10-21 22:46:41 -04:00
parent 445c25e205
commit 564b2dae47
11 changed files with 1328 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
FROM peterclemenko/blackarch as base
FROM base as builder
RUN apt-get update
RUN apt-get dist-upgrade -y
RUN apt install base-devel libffi musl openssl python python-pip -y
RUN mkdir /install
WORKDIR /install
COPY requirements.txt /requirements.txt
RUN pip install --prefix="/install" -r /requirements.txt
FROM base
COPY --from=builder /install /usr/local
COPY __init__.py /app/walkoff_app_sdk/__init__.py
COPY app_base.py /app/walkoff_app_sdk/app_base.py