KasmVNC/builder/dockerfile.kali_kali-rolling.deb.build

20 lines
443 B
Plaintext
Raw Normal View History

2021-01-28 11:46:21 +01:00
FROM kalilinux/kali-rolling:latest
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \
apt-get -y install vim build-essential devscripts equivs
# Install build-deps for the package.
COPY ./debian/control /tmp
2021-02-24 09:16:53 +01:00
RUN apt-get update && echo YYY | mk-build-deps --install --remove /tmp/control
2021-01-28 11:46:21 +01:00
ARG L_UID
RUN if [ "$L_UID" -eq 0 ]; then \
useradd -m docker; \
else \
useradd -m docker -u $L_UID;\
fi
USER docker