From ab64b851f57663cedb19c985e1c642241c344af8 Mon Sep 17 00:00:00 2001 From: Andrei-Adnan Ismail Date: Tue, 13 Oct 2015 15:09:32 +0300 Subject: [PATCH] #410 Add labels with metadata to docker instances --- docker/images/mysql/mysql-simple-dump/Dockerfile | 4 ++++ docker/images/proxysql/proxysql/Dockerfile | 8 ++++++++ docker/images/proxysql/ubuntu-12.04-build/Dockerfile | 8 ++++++++ docker/images/proxysql/ubuntu-14.04-build/Dockerfile | 8 ++++++++ 4 files changed, 28 insertions(+) diff --git a/docker/images/mysql/mysql-simple-dump/Dockerfile b/docker/images/mysql/mysql-simple-dump/Dockerfile index 7600b1b01..7e5ca99a7 100644 --- a/docker/images/mysql/mysql-simple-dump/Dockerfile +++ b/docker/images/mysql/mysql-simple-dump/Dockerfile @@ -3,5 +3,9 @@ # There is a proposed improvement to "docker cp" but it's still being # discussed (https://github.com/docker/docker/issues/5846). FROM mysql:latest + +LABEL vendor=proxysql\ + com.proxysql.type=mysql + ADD ./schema.sql /tmp/ ADD ./import_schema.sh /tmp/ \ No newline at end of file diff --git a/docker/images/proxysql/proxysql/Dockerfile b/docker/images/proxysql/proxysql/Dockerfile index b262d6c3b..b42806ee3 100644 --- a/docker/images/proxysql/proxysql/Dockerfile +++ b/docker/images/proxysql/proxysql/Dockerfile @@ -1,5 +1,13 @@ FROM ubuntu:14.04 MAINTAINER Andrei Ismail + +LABEL vendor=proxysql\ + com.proxysql.type=proxysql\ + com.proxysql.os=ubuntu14\ + com.proxysql.interactive=false\ + com.proxysql.config=simple\ + com.proxysql.purpose=testing + RUN apt-get update && apt-get install -y\ automake\ cmake\ diff --git a/docker/images/proxysql/ubuntu-12.04-build/Dockerfile b/docker/images/proxysql/ubuntu-12.04-build/Dockerfile index 94016af38..1d908ad07 100644 --- a/docker/images/proxysql/ubuntu-12.04-build/Dockerfile +++ b/docker/images/proxysql/ubuntu-12.04-build/Dockerfile @@ -1,5 +1,13 @@ FROM ubuntu:12.04 MAINTAINER Andrei Ismail + +LABEL vendor=proxysql\ + com.proxysql.type=proxysql\ + com.proxysql.os=ubuntu12\ + com.proxysql.interactive=false\ + com.proxysql.config=simple\ + com.proxysql.purpose=packaging + RUN apt-get update && apt-get install -y\ automake\ cmake\ diff --git a/docker/images/proxysql/ubuntu-14.04-build/Dockerfile b/docker/images/proxysql/ubuntu-14.04-build/Dockerfile index 73c683441..69485039e 100644 --- a/docker/images/proxysql/ubuntu-14.04-build/Dockerfile +++ b/docker/images/proxysql/ubuntu-14.04-build/Dockerfile @@ -1,5 +1,13 @@ FROM ubuntu:14.04 MAINTAINER Andrei Ismail + +LABEL vendor=proxysql\ + com.proxysql.type=proxysql\ + com.proxysql.os=ubuntu14\ + com.proxysql.interactive=false\ + com.proxysql.config=simple\ + com.proxysql.purpose=packaging + RUN apt-get update && apt-get install -y\ automake\ cmake\