Skip to content

Commit

Permalink
Merge pull request #15 from j7an/version-arguments
Browse files Browse the repository at this point in the history
Initial version arguments for Borg and Borgmatic
  • Loading branch information
B3vis authored Dec 28, 2018
2 parents ee7d1df + 59b7a3f commit e6e565e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
FROM alpine:latest
MAINTAINER b3vis

ARG BORG_VERSION=1.1.7
ARG BORGMATIC_VERSION=1.2.11

COPY entry.sh /entry.sh
RUN apk upgrade --no-cache \
&& apk add --no-cache \
Expand All @@ -15,8 +19,8 @@ RUN apk upgrade --no-cache \
fuse-dev \
attr-dev \
&& pip3 install --upgrade pip \
&& pip3 install --upgrade borgbackup \
&& pip3 install --upgrade borgmatic \
&& pip3 install --upgrade borgbackup==${BORG_VERSION} \
&& pip3 install --upgrade borgmatic==${BORGMATIC_VERSION} \
&& pip3 install llfuse \
&& mkdir /config /cache /source /repository /root/.ssh \
&& rm -rf /var/cache/apk/* \
Expand Down

0 comments on commit e6e565e

Please sign in to comment.