mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-23 08:46:25 +00:00
Compare commits
3 Commits
b043bde96c
...
9b56dd4c18
Author | SHA1 | Date | |
---|---|---|---|
|
9b56dd4c18 | ||
|
530b1b646c | ||
|
3b181149cf |
@ -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 []
|
||||
|
@ -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
|
||||
|
@ -2,7 +2,11 @@
|
||||
|
||||
shopt -s nocaseglob
|
||||
|
||||
# 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:]')
|
||||
|
Loading…
Reference in New Issue
Block a user