Compare commits

...

3 Commits

Author SHA1 Message Date
cdpb
9b56dd4c18
Merge 3b181149cf into 530b1b646c 2023-10-02 03:03:58 -07:00
Christoph Loy
530b1b646c
Update restic to 0.16.0 (#324) 2023-10-02 11:08:28 +02:00
cdpb
3b181149cf Add option for custom install paths 2022-11-10 13:47:55 +01:00
3 changed files with 12 additions and 2 deletions

View File

@ -6,7 +6,7 @@ RUN go mod download
COPY . .
RUN go build
FROM restic/restic:0.15.1
FROM restic/restic:0.16.0
RUN apk add --no-cache rclone bash
COPY --from=builder /app/autorestic /usr/bin/autorestic
ENTRYPOINT []

View File

@ -8,6 +8,12 @@ Autorestic requires `bash`, `wget` and `bzip2` to be installed. For most systems
wget -qO - https://raw.githubusercontent.com/cupcakearmy/autorestic/master/install.sh | bash
```
Or for custom install paths.
```bash
wget -qO - https://raw.githubusercontent.com/cupcakearmy/autorestic/master/install.sh | OUT_FILE=~/.local/bin/autorestic bash
```
## Alternatives
### Docker

View File

@ -2,7 +2,11 @@
shopt -s nocaseglob
OUT_FILE=/usr/local/bin/autorestic
# set OUT_FILE to custom install path
# wget -qO - https://raw.githubusercontent.com/cupcakearmy/autorestic/master/install.sh | OUT_FILE=~/.local/bin/autorestic bash
if [[ -z $OUT_FILE ]]; then
OUT_FILE=/usr/local/bin/autorestic
fi
# Type
NATIVE_OS=$(uname | tr '[:upper:]' '[:lower:]')