Skip to content

Commit e4d34dd

Browse files
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 <[email protected]
1 parent 5e96e5c commit e4d34dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/jvm/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ COPY jsa_launch /etc/kafka/docker/jsa_launch
2828
RUN set -eux ; \
2929
apk update ; \
3030
apk upgrade ; \
31-
apk add --no-cache wget gcompat gpg gpg-agent procps netcat-openbsd bash; \
31+
apk add --no-cache wget gcompat gpg gpg-agent procps bash; \
3232
mkdir opt/kafka; \
3333
wget -nv -O kafka.tgz "$kafka_url"; \
3434
wget -nv -O kafka.tgz.asc "$kafka_url.asc"; \
@@ -62,7 +62,7 @@ LABEL org.label-schema.name="kafka" \
6262
RUN set -eux ; \
6363
apk update ; \
6464
apk upgrade ; \
65-
apk add --no-cache wget gpg gpg-agent gcompat bash; \
65+
apk add --no-cache wget gcompat gpg gpg-agent procps bash; \
6666
mkdir opt/kafka; \
6767
wget -nv -O kafka.tgz "$kafka_url"; \
6868
wget -nv -O kafka.tgz.asc "$kafka_url.asc"; \

0 commit comments

Comments
 (0)