Commit Graph

28 Commits

Author SHA1 Message Date
Gong Sophia e4492a299e Deprecates MAINTAINER in Dockerfile to follow dockerhub official guide.
(https://docs.docker.com/engine/reference/builder/#/maintainer-deprecated)

Signed-off-by: Gong Sophia <sophia.gong@intel.com>
2019-12-23 09:59:05 +08:00
Qi Zheng 4f2d5c684d Unify the tags way
For version format x.y.z, three tags as below
    tag: x.y.z
    tag1: x.y
    tag2: x
They all point to the latest image.
Once app got updated (minor updates, z to z1), the tag x.y.z
will be replaced by x.y.z1, but the tag x or x.y may still
keep.

Signed-off-by: Qi Zheng <qi.zheng@intel.com>
2019-11-20 10:49:12 +08:00
Qi Zheng 06124f36f0 Add tag for httpd, mariadb, memcached
and nginx, postgres, ...

Two tags are to be added for each containers.
1. exact app version tag, usually format as x.y.z.
For example, 5.0.6 for redis.
2. major app version tag, usually format as x.
For example, 5 for redis.
For some special cases, the major format as x.y.
For example, 1.17 for nginx, 3.7 for python.

Signed-off-by: Qi Zheng <qi.zheng@intel.com>
2019-11-14 14:34:40 +08:00
timlackhan 0929f37dee Update "Mariadb deploy with k8s" 2019-09-20 11:09:57 +08:00
Jue Wang 64431a2f7a Fix a typo of two slashes
Signed-off-by: Jue Wang <wang.jue@intel.com>
2019-09-19 15:19:50 +08:00
Jue Wang 564adceb94 Update copy directory for my.cnf
Signed-off-by: Jue Wang <wang.jue@intel.com>
2019-09-17 13:13:14 +08:00
timlackhan 11b3f23e67 Add“mariadb deploy with k8s” 2019-09-04 17:31:45 +08:00
Gong Sophia 4ae8aa4f16 update mariadb/README.md
Signed-off-by: Gong Sophia <sophia.gong@intel.com>
2019-09-04 17:11:10 +08:00
Gong Sophia 60eaea6158 update mariadb README.md
Signed-off-by: Gong Sophia <sophia.gong@intel.com>
2019-08-30 15:33:41 +08:00
ZhongbaoShi 185b9dcecf Update README.md 2019-08-05 13:39:41 +08:00
Qi Zheng c0d5b82e6a Update mariadb README
Introduce that two sets of bins/libs (SSE or AVX/AVX2) are included
in the container image.

Signed-off-by: Qi Zheng <qi.zheng@intel.com>
2019-08-04 21:41:58 -07:00
Liu, Jianjun 8710d447d3 no swupd state data removing in 1st build stage
During the 1st stage build of multi-stage build, when
run swupd os-install, the swupd state data are saved to
/swupd_state, which will not be copied to the target.
So we do not need to remove swupd state data.

Signed-off-by: Liu, Jianjun <jianjun.liu@intel.com>
2019-07-25 08:47:11 +08:00
Qi Zheng 3259d3bab3 Use su-exec to run commands on entryponit
With su-exec, make sure the SIGTERM upon docker stop
could be received by the running program thus causing
a clean stop/exit.

Signed-off-by: Qi Zheng <qi.zheng@intel.com>
2019-07-23 15:47:45 -07:00
Qi Zheng ed5e457978 Use --no-boot-update instead of --no-scripts
Signed-off-by: Qi Zheng <qi.zheng@intel.com>
2019-07-19 08:45:56 +08:00
Liu, Jianjun 07d1c7c968 Hide the expected warning msg
When removing the duplicated file and directory via rm -d,
if it's a non-empty directory, it will prompt the warning
message that the directory could not be removed becuase it
is not empty. This is as expectation, as there are other
files under the same diretory and we need to keep them.
Hide these warning message to avoid confusion.

Signed-off-by: Liu, Jianjun <jianjun.liu@intel.com>
2019-07-09 09:08:01 +08:00
Liu, Jianjun 5c2d1b2fa9 only copy delta files when multistage build
For some Host OS configuration with redirect_dir on,
extra data are saved on the upper layer when the same
file exists on different layers. To minimize docker
image size, remove the overlapped files before copy,
when cgit, httpd, mariadb, memcached, nginx and
postgres.

Signed-off-by: Liu, Jianjun <jianjun.liu@intel.com>
2019-06-18 14:11:12 +08:00
Rusty Lynch 5f2ec2dff4 Minimize mariadb container using the os-core container.
Convert mariadb container to be based on the minimal os-core
container, using a multistage build technique to add additional
Clear Linux content.

Signed-off-by: Rusty Lynch<rusty.lynch@intel.com>
2019-06-11 20:29:27 -07:00
Qi Zheng 3780ad812d Set bind-address in ipv4 foramt to support ipv4 only system
Signed-off-by: Qi Zheng <qi.zheng@intel.com>
2019-06-11 16:53:14 +08:00
Qi Zheng 8a8844c3e6 Make the swupd update always be the layer two
To help analyze the container image size by layers, assume
each container image be comprised of:
Layer 1: clearlinux:latest
Layer 2: swupd update
Other layers: the container configurations

With this, we can continue to optimize layer size accordingly.

Signed-off-by: Qi Zheng <qi.zheng@intel.com>
2019-05-21 08:46:05 +08:00
Qi Zheng 0ade629569 Update mariadb
The previous one was created on 2017 and not working
any more.

Signed-off-by: Qi Zheng <qi.zheng@intel.com>
2019-04-30 11:13:02 -07:00
Patrick McCarty 873bed5501 Fix a few Dockerfile reference links
Some links end with `#/arg`, but they should end with `#arg`.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2019-04-29 13:07:00 -07:00
Patrick McCarty d6864e5c91 Link to swupd-client repo for swupd option docs
This link should be more stable and always provide the latest
information about swupd command-line options.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2019-04-29 13:07:00 -07:00
Obed N Munoz c44dddb0f3 mariadb: Proper directories creation
Signed-off-by: Obed N Munoz <obed.n.munoz@intel.com>
2017-02-10 14:43:19 -06:00
Obed N Munoz 040327f7a4 keystone,mariadb: Use stable tags
Signed-off-by: Obed N Munoz <obed.n.munoz@intel.com>
2017-02-09 10:27:09 -06:00
Obed N Munoz 6c23d7a427 Add update command before start installing software
Signed-off-by: Obed N Munoz <obed.n.munoz@intel.com>
2016-11-15 11:20:46 -06:00
Munoz, Obed N a7553219b8 Update READMEs
Signed-off-by: Munoz, Obed N <obed.n.munoz@intel.com>
2016-10-21 09:49:23 -05:00
Munoz, Obed N 690acbbae1 Update mariadb Docker file
Signed-off-by: Munoz, Obed N <obed.n.munoz@intel.com>
2016-10-21 08:14:10 -05:00
Munoz, Obed N cabdb3a6af Initial Commit
Signed-off-by: Munoz, Obed N <obed.n.munoz@intel.com>
2016-08-23 15:49:42 -05:00