Commit Graph

244 Commits

Author SHA1 Message Date
Qi Zheng d7b52070b2 Update nginx from 1.14 to 1.17
Signed-off-by: Qi Zheng <qi.zheng@intel.com>
2019-08-08 19:58:24 -07:00
Qi Zheng 9a4999969d Add "ARG swupd_args" to make the args really work
Signed-off-by: Qi Zheng <qi.zheng@intel.com>
2019-08-08 19:58:24 -07:00
Daniela Plascencia 639f969b05 DLRS release v0.3.1
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
2019-08-06 17:13:22 -05:00
Hongzhan Chen 5cdf8edee9 add ruby unit test 2019-08-04 22:54:34 -07: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
Qi Zheng 1d89ea64e5 Add CONTRIBUTING.md for travis tests
Signed-off-by: Qi Zheng <qi.zheng@intel.com>
2019-08-04 20:54:48 -07:00
Hongzhan Chen 728cafb488 add python unit test 2019-08-01 22:05:02 -07:00
Wang, Long f72b8a7aaf add apache-tomcat container
Signed-off-by: Wang, Long <long1.wang@intel.com>
2019-08-01 17:37:33 -07:00
Qi Zheng 79580ec02f Keep container lifecycle within each test
Signed-off-by: Qi Zheng <qi.zheng@intel.com>
2019-07-26 15:26:32 -07:00
Qi Zheng 88c4670435 Add test cases to travis task
Signed-off-by: Qi Zheng <qi.zheng@intel.com>
2019-07-26 15:26:32 -07:00
Qi Zheng d71e02723e Add travis test cases
Signed-off-by: Qi Zheng <qi.zheng@intel.com>
2019-07-26 15:26:32 -07:00
Wang, Long b13437467e remove os-core-update from rabbitmq
Signed-off-by: Wang, Long <long1.wang@intel.com>
2019-07-25 09:25:57 -07:00
Liu, Jianjun 70fe47244a Use --no-boot-update for nginx
Use --no-boot-update instead of --no-scripts for nginx.

Signed-off-by: Liu, Jianjun <jianjun.liu@intel.com>
2019-07-24 21:14:55 -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
William Douglas a65feb31a6 Remove clr-sdk from travis to avoid timeouts
Currently this isn't actively being worked on so having it being
tested just causes false positives due to timeouts building the
container. Look at adding it back once the build time can be reduced.
2019-07-23 10:54:15 +08:00
Rusty Lynch edfe34df31 Clean up machine-learning-ui RUN commands
Squashing all RUN commands together to ensure they create a single
docker layer resulting in a smaller overall image size.

Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
2019-07-22 10:16:52 -07:00
Rusty Lynch f9cec14591 Squash all RUN commands to a single line so that it results in a
single docker layer.  Adding a new RUN command to remove files
will result in the files not being visible in the container, but
users still carry the full weight of the "deleted" files.

Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
2019-07-22 10:16:52 -07:00
Rusty Lynch 7bc8f65723 Update documentation to include port forwarding
Signed-of-by: Rusty Lynch <rusty.lynch@intel.com>
2019-07-22 10:16:52 -07:00
Rusty Lynch 05981ccb0d Fix startup crasher bug
socket.gaierror errors out on startup since it is unable to resolve
the NetbookApp.ip address.  This was reported upstream as:
https://github.com/jupyter/notebook/issues/4558

Signed-of-by: Rusty Lynch <rusty.lynch@intel.com>
2019-07-22 10:16:52 -07:00
Gong Sophia 36c10e0241 add wordpress container
Signed-off-by: Gong Sophia <sophia.gong@intel.com>
2019-07-22 08:45:27 +08:00
Liu, Jianjun 5f925c32f9 make cgit inherits the httpd's clearlinux version
clearlinux/cgit is based on clearlinux/httpd, so it's better
to build it based on clearlinux/httpd's clearlinux version,
to avoid the dependenc that both clearlinux/os-core and
clearlinux/httpd must be the same version. Also to reduce
the container size further.

Signed-off-by: Liu, Jianjun <jianjun.liu@intel.com>
2019-07-21 11:45:21 -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
Gong Sophia 2f2f8c4299 add bundle curl in php-fpm container
Signed-off-by: Gong Sophia <sophia.gong@intel.com>
2019-07-18 09:27:58 +08:00
Wang Jue aa71f1db90 Add tools/bin to PATH
Signed-off-by: Wang Jue <wang.jue@intel.com>
2019-07-17 20:19:33 +08:00
Qi Zheng 21323d1699 Disable redis protected mode
The redis on docker hub disabled protected mode in default.
To make clear redis be compatible, disable the protected mode
in default as well.

Signed-off-by: Qi Zheng <qi.zheng@intel.com>
2019-07-11 09:27:15 +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
Wang, Long 9cbfc6d834 Add specific rabbitmq-server bundle and use it
Signed-off-by: Wang, Long <long1.wang@intel.com>
2019-07-05 14:59:22 +08:00
Gong Sophia b433f2c0cc add php-fpm container
Signed-off-by: Gong Sophia <sophia.gong@intel.com>
2019-07-02 13:13:50 +08:00
Wang, Long 7ba80fe55a create tmpfiles to adapt to multilayer creation 2019-06-28 09:53:15 +08:00
wxb071216 2379c3a15b Add cassandra into .travis.yml 2019-06-27 16:50:26 +08:00
wangjue 508bda672e Create cassandra microservice
Signed-off-by: wangjue <wang.jue@intel.com>
2019-06-27 14:47:06 +08:00
Wang, Long 814cba04ff add entrypoint and LICENSE to run rabbitmq-server
Signed-off-by: Wang, Long <long1.wang@intel.com>
2019-06-20 14:16:30 +08:00
Liu, Jianjun 51d39529b0 enable swupd function for flink container
Enable swupd for flink as it needs to install
java and other bundles most of the time.

Signed-off-by: Liu, Jianjun <jianjun.liu@intel.com>
2019-06-20 13:31:29 +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 434f8e5799 Update elasticsearch README
The volume esdata should be created first for the example

Signed-off-by: Qi Zheng <qi.zheng@intel.com>
2019-06-18 14:57:22 +08:00
Liu, Jianjun 0833d7b27a Minimize some containers using the os-core container.
Convert elasticsearch, haproxy, iperf and flink container
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-18 14:11:12 +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
Hongzhan Chen e3077360a7 Add flink container 2019-06-13 18:34:41 -07:00
Liu, Jianjun 414175df25 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.

Signed-off-by: Liu, Jianjun <jianjun.liu@intel.com>
2019-06-13 11:37:35 -07:00
Liu, Jianjun e6fdf7709f Minimize postgres container size using the os-core container
Convert postgres container 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-13 15:42:01 +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
Liu, Jianjun 254795cf6f add os-core into .travis.yml file
Signed-off-by: Liu, Jianjun <jianjun.liu@intel.com>
2019-06-10 21:49:26 -07:00
Rusty Lynch 6d9faef629 Minimize memcached container using the os-core container.
Convert memcached 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-07 12:02:08 -07:00
Rusty Lynch b503f4da60 Minimize nginx container using the os-core container.
Convert nginx 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-07 12:02:08 -07:00
Rusty Lynch 6502140eee Minimize the httpd and cgit containers using os-core base.
Convert httpd and cgit containers to utilize 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-07 12:02:08 -07:00
Rusty Lynch 3dc537dfca Minimize the redis container using os-core base.
Convert redis 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-07 12:02:08 -07:00
Rusty Lynch 1da3e8203d Create minimal base layer container
Use a docker multistage build technique to create a container
that only has the os-core bundle, providing the minimal content
required for constructing any Clear Linux base container.

Any containers that use this as a common base and still require
additional Clear Linux content will also need to perform a
multistage build since the os-core container does not include
swupd.

Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
2019-06-07 12:02:08 -07:00