fix: Add locales-all package and set it for wapiti
@@ -22,7 +22,14 @@ RUN apt-get -y update && apt-get clean
RUN apt-get -y install xvfb xserver-xephyr libxml2-dev libxslt-dev libssl-dev zlib1g-dev gcc python-all-dev \
python-pip postgresql-server-dev-all postgresql-client postgresql-client-common \
postgresql libcurl4-openssl-dev proxychains tor ca-certificates libpq-dev python-dev \
- libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev libffi-dev net-tools lsof
+ libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev libffi-dev net-tools lsof locales-all
+
+# Set locale
+RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
+ locale-gen
+ENV LANG en_US.UTF-8
+ENV LANGUAGE en_US:en
+ENV LC_ALL en_US.UTF-8
# Install optional tools (LBD, arachni, gnutls-bin, o-saft and metagoofil)
RUN apt-get -y install lbd arachni theharvester tlssled nikto dnsrecon nmap whatweb skipfish dirbuster \
