aboutsummaryrefslogtreecommitdiff
path: root/mariadb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mariadb/Makefile')
-rw-r--r--mariadb/Makefile22
1 files changed, 0 insertions, 22 deletions
diff --git a/mariadb/Makefile b/mariadb/Makefile
deleted file mode 100644
index 1e5ecfb..0000000
--- a/mariadb/Makefile
+++ /dev/null
@@ -1,22 +0,0 @@
1IMAGE=mariadb:latest-alpine
2VERSION=5.1.1
3REPO=575365190010.dkr.ecr.us-west-2.amazonaws.com
4
5all:
6 docker build -t $(IMAGE) .
7
8all-no-cache:
9 docker build --no-cache -t $(IMAGE) .
10
11run:
12 docker run -d \
13 -e MYSQL_RANDOM_ROOT_PASSWORD=yes \
14 -e MYSQL_ROOT_HOST=% \
15 -p 3306:3306 \
16 -v /srv/mysql:/var/lib/mysql \
17 $(IMAGE)
18
19publish:
20 eval $$(aws ecr get-login --region us-west-2)
21 docker tag $(IMAGE) $(REPO)/$(IMAGE)
22 docker push $(REPO)/$(IMAGE)