MINOR: Fix CDS in docker image (#15771)

Due to difference in packages present when jsa files were generated and when docker image is generated, there is a log on starting docker image.

[0.001s][warning][cds] The shared archive file has a bad magic number: 0

There is no functionality impact, only startup time is higher because of this issue.

This PR fixes the warning and improves startup performance of the docker image

Reviewers:  Manikumar Reddy <anikumar.reddy@gmail.co
This commit is contained in:
Vedarth Sharma 2024-04-22 14:51:39 +05:30 committed by Manikumar Reddy
parent b40a962a8e
commit 8faac9d761
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ COPY jsa_launch /etc/kafka/docker/jsa_launch
RUN set -eux ; \ RUN set -eux ; \
apk update ; \ apk update ; \
apk upgrade ; \ apk upgrade ; \
apk add --no-cache wget gcompat gpg gpg-agent procps netcat-openbsd bash; \ apk add --no-cache wget gcompat gpg gpg-agent procps bash; \
mkdir opt/kafka; \ mkdir opt/kafka; \
wget -nv -O kafka.tgz "$kafka_url"; \ wget -nv -O kafka.tgz "$kafka_url"; \
wget -nv -O kafka.tgz.asc "$kafka_url.asc"; \ wget -nv -O kafka.tgz.asc "$kafka_url.asc"; \
@ -62,7 +62,7 @@ LABEL org.label-schema.name="kafka" \
RUN set -eux ; \ RUN set -eux ; \
apk update ; \ apk update ; \
apk upgrade ; \ apk upgrade ; \
apk add --no-cache wget gpg gpg-agent gcompat bash; \ apk add --no-cache wget gcompat gpg gpg-agent procps bash; \
mkdir opt/kafka; \ mkdir opt/kafka; \
wget -nv -O kafka.tgz "$kafka_url"; \ wget -nv -O kafka.tgz "$kafka_url"; \
wget -nv -O kafka.tgz.asc "$kafka_url.asc"; \ wget -nv -O kafka.tgz.asc "$kafka_url.asc"; \