aboutsummaryrefslogtreecommitdiff
path: root/srcs/mysql/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'srcs/mysql/Dockerfile')
-rw-r--r--srcs/mysql/Dockerfile27
1 files changed, 15 insertions, 12 deletions
diff --git a/srcs/mysql/Dockerfile b/srcs/mysql/Dockerfile
index 4afd86f..448080e 100644
--- a/srcs/mysql/Dockerfile
+++ b/srcs/mysql/Dockerfile
@@ -1,13 +1,16 @@
-FROM alpine
-
-RUN apk update && \
- apk upgrade && \
- apk add mysql mysql-client --no-cache
-
-
-COPY src/entrypoint.sh /root/entrypoint.sh
-COPY src/my.cnf /etc/my.cnf
-
+FROM alpine:latest
+#init
+RUN apk -U upgrade
+#install nginx/php
+RUN apk add vim mysql mysql-client
+# RUN apk add telegraf --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ --allow-untrusted --no-cache
+#Expose PORT
EXPOSE 3306
-
-CMD ["/root/entrypoint.sh"]
+COPY my.cnf /etc/
+COPY start.sh .
+#COPY wordpress .
+# COPY init.sql .
+#telegraf
+# RUN mkdir -p /etc/telegraf
+# COPY telegraf.conf /etc/telegraf/telegraf.conf
+CMD /bin/sh /start.sh