Skip to content

Commit 911d514

Browse files
committed
feat: include mysql_importer on dockerfile
1 parent 0c21c6d commit 911d514

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docker/tmpl.Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,13 @@ RUN adduser -h ${USER_HOME_DIR} -s /sbin/nologin -u 1000 -D ${USER_NAME} && \
3232

3333
COPY ./__mysqldump.sh /usr/local/bin/__mysqldump.sh
3434
COPY ./mysql_exporter /usr/local/bin/mysql_exporter
35+
COPY ./__mysqlimport.sh /usr/local/bin/__mysqlimport.sh
36+
COPY ./mysql_importer /usr/local/bin/mysql_importer
3537

3638
RUN chmod +x /usr/local/bin/__mysqldump.sh && \
37-
chmod +x /usr/local/bin/mysql_exporter
39+
chmod +x /usr/local/bin/__mysqlimport.sh && \
40+
chmod +x /usr/local/bin/mysql_exporter && \
41+
chmod +x /usr/local/bin/mysql_importer
3842

3943
USER ${USER_NAME}
4044
WORKDIR ${USER_HOME_DIR}

0 commit comments

Comments
 (0)