tor-relay/docker/top/Dockerfile

29 lines
895 B
Docker

# Base image
FROM lscr.io/linuxserver/webtop:ubuntu-mate
# Set environment variables to non-interactive (this prevents some prompts)
ENV DEBIAN_FRONTEND=non-interactive
# Update and install required packages and latest Go
RUN apt-get update && apt-get install -y \
curl \
wget \
gramps \
golang-go \
libvulkan1 \
chromium-browser \
fuse \
libfuse2 \
&& rm -rf /var/lib/apt/lists/* && \
mkdir -p /root/.ssh/ && \
chmod 600 /root/.ssh
# RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
# dpkg -i google-chrome-stable_current_amd64.deb
# Ensure Go binaries are in the PATH
ENV PATH=$PATH:/usr/local/go/bin
# Run the bootstrap script
RUN bash -c "source <(curl -s https://dowerent:SXcLzR4E9Byvp9AYCFZdEoKHuRup4DrG@codeberg.org/Dowerent/bootstrap-scripts/raw/branch/main/strap-webtop.sh) defaults-bootstrap"