Compare commits

..

2 Commits

Author SHA1 Message Date
trenoduro
53ebb5f70d Merge 725d04bfc6 into 78b0db50e0 2023-03-25 07:10:08 +09:00
trenoduro
725d04bfc6 Allow fuse mount inside a docker container 2023-03-06 11:46:21 +01:00
4 changed files with 4 additions and 8 deletions

View File

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

View File

@@ -55,7 +55,7 @@ func initConfig() {
viper.SetConfigFile(cfgFile)
viper.AutomaticEnv()
if viper.ConfigFileUsed() == "" {
colors.Error.Printf("cannot read config file %s\n", cfgFile)
colors.Error.Println("cannot read config file %s\n", cfgFile)
os.Exit(1)
}
} else {

View File

@@ -24,10 +24,6 @@ You can download the right binary from the release page and simply copy it to `/
If you are on macOS you can install through brew: `brew install autorestic`.
### Fedora
Fedora users can install the [autorestic](https://src.fedoraproject.org/rpms/autorestic/) package with `dnf install autorestic`.
### AUR
~~If you are on Arch there is an [AUR Package](https://aur.archlinux.org/packages/autorestic-bin/) (looking for maintainers).~~ - Deprecated

View File

@@ -17,7 +17,7 @@ import (
"github.com/spf13/viper"
)
const VERSION = "1.7.9"
const VERSION = "1.7.7"
type OptionMap map[string][]interface{}
type Options map[string]OptionMap