modified: docker/ssh-server/Dockerfile
ssh-server-build-deploy.yaml / ssh-server-container-build-push (push) Successful in 1m19s
ssh-server-build-deploy.yaml / ssh-server-container-build-push (push) Successful in 1m19s
This commit is contained in:
@@ -20,12 +20,20 @@ RUN apt-get update && \
|
|||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
python3 \
|
python3 \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
|
borgbackup \
|
||||||
openssh-server \
|
openssh-server \
|
||||||
curl \
|
curl \
|
||||||
|
rsync \
|
||||||
|
unzip \
|
||||||
nano && \
|
nano && \
|
||||||
mkdir /var/run/sshd && \
|
mkdir /var/run/sshd && \
|
||||||
apt-get clean
|
apt-get clean
|
||||||
|
|
||||||
|
RUN curl -Of https://downloads.rclone.org/v1.71.0/rclone-v1.71.0-linux-amd64.zip && \
|
||||||
|
unzip rclone-v1.71.0-linux-amd64.zip && \
|
||||||
|
cp rclone-v1.71.0-linux-amd64/rclone /usr/bin/ && \
|
||||||
|
chmod 755 /usr/bin/rclone
|
||||||
|
|
||||||
# Create config directory for app (can be used by dev/prod stages)
|
# Create config directory for app (can be used by dev/prod stages)
|
||||||
RUN mkdir -p /etc/app/config
|
RUN mkdir -p /etc/app/config
|
||||||
|
|
||||||
@@ -41,6 +49,8 @@ WORKDIR /app
|
|||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ENV CONFIGURATION=Production
|
ENV CONFIGURATION=Production
|
||||||
ENV DEBUG=False
|
ENV DEBUG=False
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user