test
This commit is contained in:
parent
cc499f4c2d
commit
ace075c804
@ -13,7 +13,7 @@ spec:
|
||||
name: mysql
|
||||
selector:
|
||||
app: mysql
|
||||
clusterIP: None
|
||||
clusterIP: 10.99.10.10
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
FROM alpine:3.12
|
||||
RUN echo "root:root" | chpasswd
|
||||
FROM alpine:3.13.3
|
||||
RUN apk update
|
||||
RUN apk add mariadb mariadb-common mariadb-client
|
||||
COPY my.cnf /etc/my.cnf
|
||||
EXPOSE 3306
|
||||
COPY start.sh /start.sh
|
||||
RUN chmod +x /start.sh
|
||||
VOLUME ["/var/lib/mysql"]
|
||||
CMD ["/start.sh"]
|
||||
Loading…
x
Reference in New Issue
Block a user