Adding Fabric Attempt #1
This commit is contained in:
parent
4513f650db
commit
9ec7fa00f4
|
@ -1,5 +1,7 @@
|
|||
FROM lscr.io/linuxserver/webtop:ubuntu-mate
|
||||
|
||||
ENV DEBIAN_FRONTEND=non-interactive
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
curl \
|
||||
wget \
|
||||
|
@ -13,9 +15,29 @@ RUN apt-get update && apt-get install -y \
|
|||
python3 \
|
||||
python3-pip \
|
||||
git \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& mkdir -p /root/.ssh/ \
|
||||
&& 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/*
|
||||
|
|
Loading…
Reference in New Issue