[MINOR] Fix docker image build by introducing bash (#15347)

The base eclipse-temuring:21-jre-alpine image got modified and had `bash` removed from it. This broke our build, since downstream steps utilizing bash scripts depended on it. This patch explicitly installs bash
This commit is contained in:
Vedarth Sharma 2024-02-09 18:30:20 +05:30 committed by GitHub
parent 092dc7fc46
commit ec4a8aaadb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 ; \
apk update ; \
apk upgrade ; \
apk add --no-cache wget gcompat gpg gpg-agent procps netcat-openbsd; \
apk add --no-cache wget gcompat gpg gpg-agent procps netcat-openbsd bash; \
mkdir opt/kafka; \
wget -nv -O kafka.tgz "$kafka_url"; \
wget -nv -O kafka.tgz.asc "$kafka_url.asc"; \
@ -62,7 +62,7 @@ LABEL org.label-schema.name="kafka" \
RUN set -eux ; \
apk update ; \
apk upgrade ; \
apk add --no-cache wget gpg gpg-agent gcompat; \
apk add --no-cache wget gpg gpg-agent gcompat bash; \
mkdir opt/kafka; \
wget -nv -O kafka.tgz "$kafka_url"; \
wget -nv -O kafka.tgz.asc "$kafka_url.asc"; \