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)
Browsing through the folder directory structure is always a current
means to identify which images are being published on Docker Hub. Would
no longer need to keep another list in sync.
Signed-off-by: George T Kramer <george.t.kramer@intel.com>
These are validated through a separate release process. Do not want to
block CI checks for other images from failures in these images.
Signed-off-by: George T Kramer <george.t.kramer@intel.com>
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>