Actualizacion procedimiento compilacion
This commit is contained in:
parent
dd6390cbbd
commit
8c65f14b08
2 changed files with 20 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
# FIREFOX WITH ANONIMOUS USER
|
# FIREFOX WITH ANONIMOUS USER
|
||||||
# VERSION 86.0.1
|
# VERSION 113.0.2
|
||||||
FROM debian:buster-slim
|
FROM debian:bullseye-slim
|
||||||
MAINTAINER Luis GL <luisgulo@gmail.com>
|
MAINTAINER Luis GL <luisgulo@gmail.com>
|
||||||
# Todo actualizado
|
# Todo actualizado
|
||||||
RUN apt -y update; apt -y upgrade
|
RUN apt -y update; apt -y upgrade
|
||||||
|
@ -14,7 +14,7 @@ ENV LC_ALL es_ES.UTF-8
|
||||||
# Repositorio SoloConLinux
|
# Repositorio SoloConLinux
|
||||||
RUN wget https://repositorio.soloconlinux.org.es/soloconlinux.list -O /etc/apt/sources.list.d/soloconlinux.list
|
RUN wget https://repositorio.soloconlinux.org.es/soloconlinux.list -O /etc/apt/sources.list.d/soloconlinux.list
|
||||||
# Clave GPG SoloConLinux
|
# Clave GPG SoloConLinux
|
||||||
RUN wget -qO - https://repositorio.soloconlinux.org.es/repo-gpg.key | apt-key add -
|
RUN wget -qO - https://repositorio.soloconlinux.org.es/repo-gpg.key -O /usr/share/keyrings/repositorio-archive-keyring.gpg
|
||||||
RUN apt -y update; apt -y install firefox; apt-get clean
|
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
|
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
|
USER anonimo
|
||||||
|
|
18
README.md
18
README.md
|
@ -1,10 +1,26 @@
|
||||||
# firefox-docker
|
# firefox-docker
|
||||||
|
|
||||||
|
|
||||||
|
**BUILD IMAGE**
|
||||||
|
|
||||||
|
docker build --tag firefox:$(grep 'VERSION' Dockerfile |awk '{print $3}') .
|
||||||
|
|
||||||
|
Re-Tag image:
|
||||||
|
|
||||||
|
docker tag firefox:$(grep 'VERSION' Dockerfile |awk '{print $3}') firefox:latest
|
||||||
|
|
||||||
**LAUNCH FIREFOX**
|
**LAUNCH FIREFOX**
|
||||||
|
|
||||||
To launch Firefox from the container run the command:
|
To launch Firefox from the container run the command:
|
||||||
~~~
|
~~~
|
||||||
docker run -ti --rm -e DISPLAY=$DISPLAY.0 -v /tmp/.X11-unix:/tmp/.X11-unix luisgutierrez/firefox:86.0.1
|
|
||||||
|
RUN from local image (your build):
|
||||||
|
|
||||||
|
docker run -ti --rm -e DISPLAY=$DISPLAY.0 -v /tmp/.X11-unix:/tmp/.X11-unix firefox:latest
|
||||||
|
|
||||||
|
RUN from my image (my build):
|
||||||
|
|
||||||
|
docker run -ti --rm -e DISPLAY=$DISPLAY.0 -v /tmp/.X11-unix:/tmp/.X11-unix luisgutierrez/firefox:latest
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
It is not necessary to invoke Firefox, it is launched automatically when executing the container
|
It is not necessary to invoke Firefox, it is launched automatically when executing the container
|
||||||
|
|
Loading…
Reference in a new issue