Skip to content

Commit

Permalink
Merge pull request #13 from theohbrothers/refactor/add-dockerfile-com…
Browse files Browse the repository at this point in the history
…ments-for-restic

Refactor: Add dockerfile comments for `restic`
  • Loading branch information
leojonathanoh authored Apr 15, 2023
2 parents b890ea9 + 06e01fd commit ff1cb6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion generate/templates/Dockerfile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ RUN set -eux; \
foreach ($c in $VARIANT['_metadata']['components']) {
if ($c -eq 'restic') {
@'
# See: https://github.com/restic/restic/blob/0.15.1/docker/Dockerfile
# Install restic
# These packages are needed for all restic features to work. See: https://github.com/restic/restic/blob/0.15.1/docker/Dockerfile
RUN apk add --update --no-cache ca-certificates fuse openssh-client tzdata jq
RUN set -eux; \
RESTIC_VERSION=0.15.1; \
Expand Down
3 changes: 2 additions & 1 deletion variants/1.4.4-restic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ RUN set -eux; \
apk add --no-cache openssl; \
mbsync --version

# See: https://github.com/restic/restic/blob/0.15.1/docker/Dockerfile
# Install restic
# These packages are needed for all restic features to work. See: https://github.com/restic/restic/blob/0.15.1/docker/Dockerfile
RUN apk add --update --no-cache ca-certificates fuse openssh-client tzdata jq
RUN set -eux; \
RESTIC_VERSION=0.15.1; \
Expand Down

0 comments on commit ff1cb6f

Please sign in to comment.