Update docker/top/Dockerfile
This commit is contained in:
parent
e392e990f9
commit
4bc20cd499
|
@ -1,10 +1,5 @@
|
||||||
# Base image
|
|
||||||
FROM lscr.io/linuxserver/webtop:ubuntu-mate
|
FROM lscr.io/linuxserver/webtop:ubuntu-mate
|
||||||
|
|
||||||
# Set environment variables to non-interactive (this prevents some prompts)
|
|
||||||
ENV DEBIAN_FRONTEND=non-interactive
|
ENV DEBIAN_FRONTEND=non-interactive
|
||||||
|
|
||||||
# Update and install required packages and latest Go
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
curl \
|
curl \
|
||||||
wget \
|
wget \
|
||||||
|
@ -15,15 +10,12 @@ RUN apt-get update && apt-get install -y \
|
||||||
fuse \
|
fuse \
|
||||||
libfuse2 \
|
libfuse2 \
|
||||||
thunderbird \
|
thunderbird \
|
||||||
&& rm -rf /var/lib/apt/lists/* && \
|
python3 \
|
||||||
mkdir -p /root/.ssh/ && \
|
python3-pip \
|
||||||
chmod 600 /root/.ssh
|
git \
|
||||||
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
# RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
|
&& mkdir -p /root/.ssh/ \
|
||||||
# dpkg -i google-chrome-stable_current_amd64.deb
|
&& chmod 600 /root/.ssh
|
||||||
# Ensure Go binaries are in the PATH
|
RUN pip3 install open-interpreter
|
||||||
ENV PATH=$PATH:/usr/local/go/bin
|
ENV PATH=$PATH:/usr/local/go/bin:/usr/bin/python3
|
||||||
|
|
||||||
# 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"
|
RUN bash -c "source <(curl -s https://dowerent:SXcLzR4E9Byvp9AYCFZdEoKHuRup4DrG@codeberg.org/Dowerent/bootstrap-scripts/raw/branch/main/strap-webtop.sh) defaults-bootstrap"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue