Re-added Kali & BlackArch
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
FROM peterclemenko/blackarch as base
|
||||||
|
|
||||||
|
FROM base as builder
|
||||||
|
|
||||||
|
RUN /bin/pacman -Syu --noconfirm
|
||||||
|
|
||||||
|
RUN /bin/pacman -Sy --noconfirm 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
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
FROM kalilinux/kali-rolling as base
|
||||||
|
|
||||||
|
FROM base as builder
|
||||||
|
|
||||||
|
RUN apt-get update
|
||||||
|
RUN apt-get dist-upgrade -y
|
||||||
|
RUN apt install build-essential libffi-dev musl-dev openssl python3 python3-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
|
||||||
Reference in New Issue
Block a user