-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (26 loc) · 839 Bytes
/
Dockerfile
File metadata and controls
32 lines (26 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#
# ## .
# ## ## ## ==
# ## ## ## ## ===
# /""""""""""""""""\___/ ===
# ~~~ {~~ ~~~~ ~~~ ~~~~ ~~ ~ / ===- ~~~
# \______ o __/
# \ \ __/
# \____\______/
#
# | |
# __ | __ __ | _ __ _
# / \| / \ / |/ / _\ |
# \__/| \__/ \__ |\_ \__ |
#
# Dockerfile for backup MariaDB/Mysql database
#
FROM debian:stretch-slim
MAINTAINER Jeremie Robert appydo@gmail.com version: 0.3
# Let the container know that there is no tty
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -y update \
&& apt-get -y upgrade \
&& apt-get -y install mysql-client
ADD ./backup.sh /backup.sh
CMD ["/bin/bash", "/backup.sh"]