kopia lustrzana https://github.com/borgmatic-collective/docker-borgmatic
Removed old Dockerfile text from README.md
rodzic
e6e565e273
commit
079e9d63d6
38
README.md
38
README.md
|
@ -62,41 +62,3 @@ sh -c "generate-borgmatic-config -d /etc/borgmatic.d/config.yaml"
|
|||
|
||||
#### TZ
|
||||
You can set TZ to specify a time zone, `Europe/Berlin`.
|
||||
|
||||
### Dockerfile
|
||||
```
|
||||
FROM alpine:latest
|
||||
MAINTAINER b3vis
|
||||
COPY entry.sh /entry.sh
|
||||
RUN apk upgrade --no-cache \
|
||||
&& apk add --no-cache \
|
||||
tzdata \
|
||||
curl \
|
||||
sshfs \
|
||||
python3 \
|
||||
py3-msgpack \
|
||||
ca-certificates \
|
||||
openssl-dev \
|
||||
lz4-dev \
|
||||
musl-dev \
|
||||
gcc \
|
||||
python3-dev \
|
||||
acl-dev \
|
||||
linux-headers \
|
||||
&& pip3 install --upgrade pip \
|
||||
&& pip3 install --upgrade borgbackup \
|
||||
&& pip3 install --upgrade borgmatic \
|
||||
&& mkdir /config /cache /source /repository /root/.ssh\
|
||||
&& rm -rf /var/cache/apk/* \
|
||||
&& chmod 755 /entry.sh
|
||||
VOLUME /config
|
||||
VOLUME /etc/borgmatic.d
|
||||
VOLUME /cache
|
||||
VOLUME /source
|
||||
VOLUME /repository
|
||||
VOLUME /root/.ssh
|
||||
# Set Envars
|
||||
ENV BORG_CACHE_DIR /cache
|
||||
CMD ["/entry.sh"]
|
||||
|
||||
```
|
||||
|
|
Ładowanie…
Reference in New Issue