Add torbrowser image

This commit is contained in:
Myve 2024-07-25 01:50:00 +00:00
commit 2b9e731a00
5 changed files with 90 additions and 0 deletions

21
torbrowser/Dockerfile Normal file
View file

@ -0,0 +1,21 @@
# syntax = docker/dockerfile:1
FROM myvnc/arch/base:i3
USER root
# Build ARG: use "root" for debugging
ARG debug
# Install packages
RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman \
pacman -Syu --ask 4 --needed \
torbrowser-launcher \
&& pacman -Scc --ask 4
# Tigervnc
COPY *.sh /app/init.d/
# Default environment
USER ${debug:-user}
# Install torbrowser
RUN /usr/bin/torbrowser-launcher