ssh client revision added some helper scripts and changed to alpine
All checks were successful
/ build-docker-image (push) Successful in 50s

This commit is contained in:
2025-09-13 23:35:28 +01:00
parent 13aca2cb51
commit b02ffb7021
8 changed files with 181 additions and 43 deletions

View File

@@ -1,16 +1,25 @@
FROM ubuntu:latest
FROM alpine:latest
RUN apt-get update
RUN apt-get install -y \
python3 \
python3-pip \
borgbackup \
fuse \
python3-pyfuse3 \
openssh-client
# Install BorgBackup and OpenSSH client
RUN apk update && apk add --no-cache \
borgbackup \
openssh \
bash \
tzdata
COPY ./docker/app /app
RUN chmod +x /app/scripts/ffenv
RUN ln -s /app/scripts/ffenv /usr/local/bin/ffenv
RUN chmod +x /app/scripts -R
RUN ln -s /app/scripts/loadenv /usr/local/bin/loadenv
RUN ln -s /app/scripts/remote-connect /usr/local/bin/remote-connect
RUN ln -s /app/scripts/remote-connect /usr/local/bin/remote-get-folder-size
RUN addgroup -S borg && adduser -S borg -G borg
USER borg
WORKDIR /home/borg
RUN echo "source /usr/local/bin/loadenv" > ~/.bash_profile
RUN echo "source /usr/local/bin/loadenv" > ~/.bashrc
ENTRYPOINT ["bash" , "-c", "borg $0"]
CMD ["--help"]