Files
dockerfiles/ruby/Dockerfile
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

9 lines
192 B
Docker

FROM clearlinux:latest
MAINTAINER hongzhan.chen@intel.com
RUN swupd update --no-boot-update $swupd_args
RUN swupd bundle-add ruby-basic $swupd_args \
&& rm -rf /var/lib/swupd/*
CMD ["irb"]