Actualiza Dockerfile, docker-compose y scripts para mejorar la configuración y el arranque de rclone-gui
This commit is contained in:
27
Dockerfile
27
Dockerfile
@@ -1,6 +1,15 @@
|
||||
FROM ubuntu
|
||||
FROM ubuntu:22.04
|
||||
|
||||
RUN apt update && apt upgrade -y && apt autoremove -y && apt install python3 python3-pip -y && apt install git nano wget -y
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
ca-certificates \
|
||||
wget \
|
||||
git \
|
||||
nano \
|
||||
python3 \
|
||||
python3-pip \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ENV URL_DESCARGA_RCLONE="https://downloads.rclone.org/v1.72.1/rclone-v1.72.1-linux-amd64.deb"
|
||||
|
||||
@@ -8,12 +17,12 @@ EXPOSE 5572
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN wget $URL_DESCARGA_RCLONE
|
||||
RUN wget "$URL_DESCARGA_RCLONE" \
|
||||
&& dpkg -i rclone-v1.72.1-linux-amd64.deb \
|
||||
&& rm -f rclone-v1.72.1-linux-amd64.deb
|
||||
|
||||
RUN dpkg -i rclone-v1.72.1-linux-amd64.deb
|
||||
# Copiamos el script local en lugar de descargarlo
|
||||
COPY test.sh /app/test.sh
|
||||
RUN chmod +x /app/test.sh
|
||||
|
||||
RUN wget https://raw.githubusercontent.com/kadma/pruebasdocker/main/rclone-gui/test.sh
|
||||
|
||||
RUN chmod +x test.sh
|
||||
|
||||
ENTRYPOINT ./test.sh
|
||||
ENTRYPOINT ["/app/test.sh"]
|
||||
Reference in New Issue
Block a user