Skip to content

Commit 41633c8

Browse files
authored
Update Dockerfile builder source (#86)
1 parent 4afbd09 commit 41633c8

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

kafka-connect/Dockerfile

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# This dockerfile expects Connector jars to have been built under a `connectors` directory
22
#
3-
FROM ibmcom/eventstreams-kafka-ce-icp-linux-amd64:2019.2.1-3a2f93e as builder
3+
FROM alpine as builder
4+
5+
RUN apk update
6+
RUN apk --no-cache add curl
7+
8+
RUN curl -L "https://downloads.apache.org/kafka/3.4.0/kafka_2.12-3.4.0.tgz" -o kafka.tgz
9+
RUN mkdir /opt/kafka \
10+
&& tar -xf kafka.tgz -C /opt/kafka --strip-components=1
411

512
FROM ibmjava:11
613

kafka-mirrormaker/Dockerfile

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1-
FROM ibmcom/eventstreams-kafka-ce-icp-linux-amd64:2019.2.1-3a2f93e as builder
1+
FROM alpine as builder
22

3-
FROM ibmjava:8-jre
3+
RUN apk update
4+
RUN apk --no-cache add curl
5+
6+
RUN curl -L "https://downloads.apache.org/kafka/3.4.0/kafka_2.12-3.4.0.tgz" -o kafka.tgz
7+
RUN mkdir /opt/kafka \
8+
&& tar -xf kafka.tgz -C /opt/kafka --strip-components=1
9+
10+
FROM ibmjava:11
411

512
RUN addgroup --gid 5000 --system esgroup && \
613
adduser --uid 5000 --ingroup esgroup --system esuser

0 commit comments

Comments
 (0)