From 096502d3009eac03d60e3389f49bb49e6a5a0573 Mon Sep 17 00:00:00 2001 From: "Luis G.L" Date: Fri, 12 Mar 2021 02:47:36 +0100 Subject: [PATCH] Dockerfile --- Dockerfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4420ffd --- /dev/null +++ b/Dockerfile @@ -0,0 +1,23 @@ +FROM debian:buster-slim +MAINTAINER Luis GL +# Todo actualizado +RUN apt -y update; apt -y upgrade +RUN apt -y install apt-transport-https wget gpg locales libgtk-3-0 libx11-xcb1 libdbus-glib-1-2 libxt6 +# Locales para es_ES +RUN sed -i '/es_ES.UTF-8/s/^# //g' /etc/locale.gen && \ + locale-gen +ENV LANG es_ES.UTF-8 +ENV LANGUAGE es_ES:es +ENV LC_ALL es_ES.UTF-8 +# Repositorio SoloConLinux +RUN wget https://repositorio.soloconlinux.org.es/soloconlinux.list -O /etc/apt/sources.list.d/soloconlinux.list +# Clave GPG SoloConLinux +RUN wget -qO - https://repositorio.soloconlinux.org.es/repo-gpg.key | apt-key add - +RUN apt -y update; apt -y install firefox; apt-get clean +RUN GID=1000; UID=1000; UNAME=anonimo; mkdir -p /home/$UNAME; echo "$UNAME:x:${UID}:${GID}:Developer,,,:/home/$UNAME:/bin/bash" >> /etc/passwd; echo "$UNAME:x:${UID}:" >> /etc/group; chown ${UID}:${GID} -R /home/$UNAME +USER anonimo +ENV HOME=/home/anonimo +WORKDIR /home/anonimo +ADD config/punto_anonimo.tar /home/anonimo/. +# Lanzar Firefox +CMD ["/opt/firefox/firefox"]