Skip to content

Commit

Permalink
[MINOR] Fix docker image build by introducing bash (apache#15347)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
VedarthConfluent authored Feb 9, 2024
1 parent 092dc7f commit ec4a8aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/jvm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"; \
Expand Down Expand Up @@ -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"; \
Expand Down

0 comments on commit ec4a8aa

Please sign in to comment.