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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
We were still using the older ister bundle to install dependencies
and then augmenting during the TravisCI run.
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Commit includes the following changes:
* Less RUN commands (so less intermediate layers)
* Set java11 as default
* Remove spark-core jars files (not required if java11 is default)
Testing based on CLR 29480
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>
This provides the Data Analytics Reference Stack. To offer more flexibility,
there are two versions of the Data Analytics Reference Stack:
* A Clear Linux derived image optimized for [OpenBLAS](https://www.openblas.net/)
* A Clear Linux derived image optimized for Intel® Math Kernel Library [MKL](https://software.intel.com/en-us/mkl)