17 Commits

Author SHA1 Message Date
William Douglas
e1d7e33abe Fix Dockerfile issues for postgresql and php 2024-06-17 10:05:53 -07:00
William Douglas
114295de66 Add workflow to publish container images on github
Note that variable expansion in --from and FROM was working oddly,
see: https://github.com/docker/cli/issues/3356#issuecomment-957892224
for context.
2024-06-14 13:31:19 -07:00
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
76105be36a Delete not used helloworld.php
Signed-off-by: Qi Zheng <qi.zheng@intel.com>
2019-12-03 15:49:35 +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
ZhongbaoShi
f0ab6bdc8a Update reference link to use publish one
Update reference link to official publish one
2019-10-11 08:30:48 +08:00
Liu, Jianjun
3b4b72aa3b update README for golang node perl php python
update the README to include the way to cusomize
the container image with debug capabilities.

Signed-off-by: Liu, Jianjun <jianjun.liu@intel.com>
2019-09-20 13:49:59 +08:00
Lu Ken
452ece75c8 expose PHP opcache via environment variable for different workload 2019-09-17 17:55:53 +08:00
Gong Sophia
d796d49da4 update php/README.md
Signed-off-by: Gong Sophia <sophia.gong@intel.com>
2019-09-04 17:11:10 +08:00
Gong Sophia
c7dc34035b update php/README.md
Signed-off-by: Gong Sophia <sophia.gong@intel.com>
2019-08-30 15:33:41 +08: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
4b74973905 Minimize containers size using the os-core container
Convert golang, node, openjdk, perl, php, python,
rabbitmq, ruby and tensorflow containers to be based
on the minimal os-core container, using a multistage
build technique to add additional Clear Linux content.

Signed-off-by: Liu, Jianjun <jianjun.liu@intel.com>
2019-06-19 08:45:36 +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
Liu Jianjun
bbc9ca8d62 update args link in php readme.md
Signed-off-by: Liu Jianjun <jianjun.liu@intel.com>
2019-05-01 11:52:25 -07:00
Liu Jianjun
245e07782c Add php container
Signed-off-by: Liu Jianjun <jianjun.liu@intel.com>
2019-05-01 11:52:25 -07:00