File tree 2 files changed +17
-3
lines changed
2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 1
1
# This dockerfile expects Connector jars to have been built under a `connectors` directory
2
2
#
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
4
11
5
12
FROM ibmjava:11
6
13
Original file line number Diff line number Diff line change 1
- FROM ibmcom/eventstreams-kafka-ce-icp-linux-amd64:2019.2.1-3a2f93e as builder
1
+ FROM alpine as builder
2
2
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
4
11
5
12
RUN addgroup --gid 5000 --system esgroup && \
6
13
adduser --uid 5000 --ingroup esgroup --system esuser
You can’t perform that action at this time.
0 commit comments