mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-10-03 23:38:31 +00:00
Remove openjdk src package to decrease package size
Signed-off-by: Wang Jue <wang.jue@intel.com>
This commit is contained in:
@@ -12,11 +12,13 @@ COPY --from=clearlinux/os-core:latest /usr/lib/os-release /
|
||||
|
||||
# Install additional content in a target directory
|
||||
# using the os version from the minimal base
|
||||
# Remove openjdk src package to optimize docker image size
|
||||
RUN source /os-release && \
|
||||
mkdir /install_root \
|
||||
&& swupd os-install -V ${VERSION_ID} \
|
||||
--path /install_root --statedir /swupd-state \
|
||||
--bundles=cassandra,os-core-plus,su-exec --no-boot-update
|
||||
--bundles=cassandra,os-core-plus,su-exec --no-boot-update \
|
||||
&& rm /install_root/usr/lib/jvm/*/src.zip
|
||||
|
||||
# For some Host OS configuration with redirect_dir on,
|
||||
# extra data are saved on the upper layer when the same
|
||||
|
||||
Reference in New Issue
Block a user