[dockerfile] Add fixes to test run OWTF successfully
FROM kalilinux/kali-linux-docker
RUN apt-get -y update && apt-get -y upgrade
+# Install certificates to ensure https links in wget work
+RUN apt-get install ca-certificates
# Install sudo, python, and Java for Zest functionality
RUN apt-get -y install sudo python openjdk-8-jre openjdk-8-jdk
+# Fix for exporting a SHELL variable in the environment
+ENV SHELL /bin/bash
+
# Fix dbus not starting & set multi-user.target instead of graphical.target
RUN ln -s /lib/systemd/system/systemd-logind.service /etc/systemd/system/multi-user.target.wants/systemd-logind.service
RUN mkdir /etc/systemd/system/sockets.target.wants/
RUN ln -s /lib/systemd/system/dbus.socket /etc/systemd/system/sockets.target.wants/dbus.socket
RUN systemctl set-default multi-user.target
-
