File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ ENV VERSION=${appVersion}
53
53
LABEL author="Jonas Kaninda"
54
54
LABEL version=${appVersion}
55
55
56
- RUN apk --update add --no-cache mysql-client mariadb-connector-c tzdata
56
+ RUN apk --update add --no-cache mysql-client mariadb-connector-c tzdata ca-certificates
57
57
RUN mkdir $WORKDIR
58
58
RUN mkdir $BACKUPDIR
59
59
RUN mkdir $TEMPLATES_DIR
@@ -70,13 +70,13 @@ RUN chmod +x /usr/local/bin/mysql-bkup
70
70
RUN ln -s /usr/local/bin/mysql-bkup /usr/local/bin/bkup
71
71
72
72
# Create backup script and make it executable
73
- RUN echo '#!/bin/sh\n /usr/local/bin/mysql-bkup backup "$@"' > /usr/local/bin/backup && \
73
+ RUN printf '#!/bin/sh\n /usr/local/bin/mysql-bkup backup "$@"' > /usr/local/bin/backup && \
74
74
chmod +x /usr/local/bin/backup
75
75
# Create restore script and make it executable
76
- RUN echo '#!/bin/sh\n /usr/local/bin/mysql-bkup restore "$@"' > /usr/local/bin/restore && \
76
+ RUN printf '#!/bin/sh\n /usr/local/bin/mysql-bkup restore "$@"' > /usr/local/bin/restore && \
77
77
chmod +x /usr/local/bin/restore
78
78
# Create migrate script and make it executable
79
- RUN echo '#!/bin/sh\n /usr/local/bin/mysql-bkup migrate "$@"' > /usr/local/bin/migrate && \
79
+ RUN printf '#!/bin/sh\n /usr/local/bin/mysql-bkup migrate "$@"' > /usr/local/bin/migrate && \
80
80
chmod +x /usr/local/bin/migrate
81
81
82
82
WORKDIR $WORKDIR
You can’t perform that action at this time.
0 commit comments