diff --git a/Dockerfile-ark.alpine b/Dockerfile-ark.alpine index 46dec1278..e5cd81049 100644 --- a/Dockerfile-ark.alpine +++ b/Dockerfile-ark.alpine @@ -21,8 +21,8 @@ RUN apk add --no-cache ca-certificates RUN apk add --update --no-cache bzip2 && \ wget --quiet https://github.com/restic/restic/releases/download/v0.9.1/restic_0.9.1_linux_amd64.bz2 && \ bunzip2 restic_0.9.1_linux_amd64.bz2 && \ - mv restic_0.9.1_linux_amd64 /restic && \ - chmod +x /restic + mv restic_0.9.1_linux_amd64 /usr/bin/restic && \ + chmod +x /usr/bin/restic ADD /bin/linux/amd64/ark /ark diff --git a/pkg/restic/command.go b/pkg/restic/command.go index ae7165d11..99e0ed321 100644 --- a/pkg/restic/command.go +++ b/pkg/restic/command.go @@ -35,7 +35,7 @@ type Command struct { // StringSlice returns the command as a slice of strings. func (c *Command) StringSlice() []string { - res := []string{"/restic"} + res := []string{"restic"} res = append(res, c.Command, repoFlag(c.RepoPrefix, c.Repo)) if c.PasswordFile != "" {