Skip to content

Commit 5061d67

Browse files
authored
Apply linting advice (#22)
1 parent ab03388 commit 5061d67

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

10/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ RUN rm /var/cache/apk/*
1313

1414
VOLUME ["/data/backups"]
1515

16-
ENV BACKUP_DIR /data/backups
16+
ENV BACKUP_DIR=/data/backups
1717

1818
ADD . /backup
1919

2020
ENTRYPOINT ["/backup/entrypoint.sh"]
2121

22-
CMD crond -f -l 2
22+
CMD ["crond", "-f", "-l", "2"]

11/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ RUN rm /var/cache/apk/*
1313

1414
VOLUME ["/data/backups"]
1515

16-
ENV BACKUP_DIR /data/backups
16+
ENV BACKUP_DIR=/data/backups
1717

1818
ADD . /backup
1919

2020
ENTRYPOINT ["/backup/entrypoint.sh"]
2121

22-
CMD crond -f -l 2
22+
CMD ["crond", "-f", "-l", "2"]

12/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ RUN rm /var/cache/apk/*
1313

1414
VOLUME ["/data/backups"]
1515

16-
ENV BACKUP_DIR /data/backups
16+
ENV BACKUP_DIR=/data/backups
1717

1818
ADD . /backup
1919

2020
ENTRYPOINT ["/backup/entrypoint.sh"]
2121

22-
CMD crond -f -l 2
22+
CMD ["crond", "-f", "-l", "2"]

13/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ RUN rm /var/cache/apk/*
1313

1414
VOLUME ["/data/backups"]
1515

16-
ENV BACKUP_DIR /data/backups
16+
ENV BACKUP_DIR=/data/backups
1717

1818
ADD . /backup
1919

2020
ENTRYPOINT ["/backup/entrypoint.sh"]
2121

22-
CMD crond -f -l 2
22+
CMD ["crond", "-f", "-l", "2"]

14/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ RUN rm /var/cache/apk/*
1313

1414
VOLUME ["/data/backups"]
1515

16-
ENV BACKUP_DIR /data/backups
16+
ENV BACKUP_DIR=/data/backups
1717

1818
ADD . /backup
1919

2020
ENTRYPOINT ["/backup/entrypoint.sh"]
2121

22-
CMD crond -f -l 2
22+
CMD ["crond", "-f", "-l", "2"]

15/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ RUN rm /var/cache/apk/*
1313

1414
VOLUME ["/data/backups"]
1515

16-
ENV BACKUP_DIR /data/backups
16+
ENV BACKUP_DIR=/data/backups
1717

1818
ADD . /backup
1919

2020
ENTRYPOINT ["/backup/entrypoint.sh"]
2121

22-
CMD crond -f -l 2
22+
CMD ["crond", "-f", "-l", "2"]

16/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ RUN rm /var/cache/apk/*
1313

1414
VOLUME ["/data/backups"]
1515

16-
ENV BACKUP_DIR /data/backups
16+
ENV BACKUP_DIR=/data/backups
1717

1818
ADD . /backup
1919

2020
ENTRYPOINT ["/backup/entrypoint.sh"]
2121

22-
CMD crond -f -l 2
22+
CMD ["crond", "-f", "-l", "2"]

template/Dockerfile.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ RUN rm /var/cache/apk/*
1313

1414
VOLUME ["/data/backups"]
1515

16-
ENV BACKUP_DIR /data/backups
16+
ENV BACKUP_DIR=/data/backups
1717

1818
ADD . /backup
1919

2020
ENTRYPOINT ["/backup/entrypoint.sh"]
2121

22-
CMD crond -f -l 2
22+
CMD ["crond", "-f", "-l", "2"]

0 commit comments

Comments
 (0)