Related issue: I’d like to use duplicati to backup to a USB drive.
Individually, the
- Duplicati block, and the
- balena-storage (dynamically mount USB drives)
work as expected.
Now I’d like to “merge” the two, i.e. dynamically mount USB drives inside the duplicati service. My Dockerfile.template
, below, fails with E: Unable to locate package findmnt
.
Any suggestions for getting around this issue?
Dockerfile.template
(straight from balana-storage
except the FROM
& apt-get
statements):
FROM linuxserver/duplicati:latest
# Enable udev for detection of dynamically plugged devices
ENV UDEV=on
COPY udev/usb.rules /etc/udev/rules.d/usb.rules
# Install dependencies (install_packages not available)
RUN apt-get update && apt-get install -y \
findmnt util-linux grep \
&& rm -rf /var/lib/apt/lists/*
RUN install_packages
WORKDIR /usr/src
COPY scripts scripts
RUN chmod +x scripts/*
# Change your CMD as needed (probably not needed?)
CMD [ "/bin/bash", "/usr/src/scripts/idle.sh" ]