tor-relay/docker/top/Dockerfile

44 lines
1016 B
Docker

FROM lscr.io/linuxserver/webtop:ubuntu-mate
ENV DEBIAN_FRONTEND=non-interactive
RUN apt-get update && apt-get install -y \
curl \
wget \
gramps \
golang-go \
libvulkan1 \
chromium-browser \
fuse \
libfuse2 \
thunderbird \
python3 \
python3-pip \
git \
&& apt-get install -y pipx \
&& pipx ensurepath \
&& rm -rf /var/lib/apt/lists/*
RUN 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"
RUN git clone https://github.com/danielmiessler/fabric.git /opt/fabric \
&& cd /opt/fabric \
&& pipx install .
ENV PATH=$PATH:/root/.local/bin
RUN cd /opt/fabric && fabric --setup
SHELL ["/bin/bash", "-c"]
RUN fabric --help
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*