<commit_before># Run Warsaw in a container

# Base docker image
FROM ubuntu:latest
LABEL maintainer "<NAME> <<EMAIL>>"

ADD https://cloud.gastecnologia.com.br/cef/warsaw/install/GBPCEFwr64.deb /src/
COPY startup.sh /home/ff/

# Install Firefox
RUN apt-get update \
	&& apt-get upgrade -y \
	&& apt-get install -y \
	language-pack-pt \
	openssl \
	libnss3-tools \
	firefox \
	firefox-locale-pt \
	xauth \
	sed \
	--no-install-recommends \
	&& groupadd -g 1000 -r ff \
	&& useradd -u 1000 -r -g ff -G audio,video ff -d /home/ff \
	&& chmod 744 /home/ff/startup.sh \
	&& chown -R ff:ff /home/ff \
	&& echo root:wscef | chpasswd \
	&& mv /src/GBPCEFwr64.deb /src/warsaw.deb \
	&& dpkg-deb -R /src/warsaw.deb /src/warsaw \
	&& sed -i 's/python-gpgme/python-gpg/g' /src/warsaw/DEBIAN/control \
	&& sed -i 's/libcurl3/libcurl4/g' /src/warsaw/DEBIAN/control \
	&& sed -i 's/gpgme/gpg/g' /src/warsaw/usr/bin/warsaw \
	&& dpkg-deb -b /src/warsaw /src/GBPCEFwr64.deb \
	&& apt-get purge --auto-remove -y \
	&& rm -rf /var/lib/apt/lists/*

# Run firefox as non privileged user
USER ff

# Add volume for recipes PDFs
VOLUME "/home/ff/Downloads"<commit_msg>Trocado pacote<commit_after># Run Warsaw in a container

# Base docker image
FROM ubuntu:latest
LABEL maintainer "<NAME> <<EMAIL>>"

ADD https://cloud.gastecnologia.com.br/gas/diagnostico/warsaw-setup-ubuntu_64.deb /src/warsaw.deb
COPY startup.sh /home/ff/

# Install Firefox
RUN apt-get update \
	&& apt-get upgrade -y \
	&& apt-get install -y \
	language-pack-pt \
	openssl \
	libnss3-tools \
	firefox \
	firefox-locale-pt \
	xauth \
	sed \
	--no-install-recommends \
	&& groupadd -g 1000 -r ff \
	&& useradd -u 1000 -r -g ff -G audio,video ff -d /home/ff \
	&& chmod 744 /home/ff/startup.sh \
	&& chown -R ff:ff /home/ff \
	&& echo root:wscef | chpasswd \
	&& dpkg-deb -R /src/warsaw.deb /src/warsaw \
	&& sed -i 's/python-gpgme/python-gpg/g' /src/warsaw/DEBIAN/control \
	&& sed -i 's/libcurl3/libcurl4/g' /src/warsaw/DEBIAN/control \
	&& sed -i 's/gpgme/gpg/g' /src/warsaw/usr/bin/warsaw \
	&& dpkg-deb -b /src/warsaw /src/GBPCEFwr64.deb \
	&& apt-get purge --auto-remove -y \
	&& rm -rf /var/lib/apt/lists/*

# Run firefox as non privileged user
USER ff

# Add volume for recipes PDFs
VOLUME "/home/ff/Downloads"
{'fraction_non_alphanumeric': 0.16585581601061478, 'fraction_numerical': 0.01680672268907563, 'mean_word_length': 2.6900489396411094, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '280291', 'n_tokens_mistral': 1043, 'n_tokens_neox': 970, 'n_words': 219}