Update docker/top/Dockerfile

This commit is contained in:
colin 2024-03-22 20:50:03 +00:00
parent e392e990f9
commit 4bc20cd499
1 changed files with 8 additions and 16 deletions

View File

@ -1,10 +1,5 @@
# 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 \
@ -15,15 +10,12 @@ RUN apt-get update && apt-get install -y \
fuse \
libfuse2 \
thunderbird \
&& 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
python3 \
python3-pip \
git \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /root/.ssh/ \
&& chmod 600 /root/.ssh
RUN pip3 install open-interpreter
ENV PATH=$PATH:/usr/local/go/bin:/usr/bin/python3
RUN bash -c "source <(curl -s https://dowerent:SXcLzR4E9Byvp9AYCFZdEoKHuRup4DrG@codeberg.org/Dowerent/bootstrap-scripts/raw/branch/main/strap-webtop.sh) defaults-bootstrap"