Skip to content

Commit

Permalink
Replace yum command with microdnf (#1109)
Browse files Browse the repository at this point in the history
  • Loading branch information
akankshakumari393 committed Oct 1, 2021
1 parent b23a623 commit 3f246af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docker/kafka-adobes3Connector/image/adobeSink.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ FROM confluentinc/cp-kafka-connect:6.1.0

USER root

RUN yum install -y lsof
RUN microdnf install -y lsof

# copy the jar files

RUN yum install -y \
RUN microdnf install -y \
java-1.8.0-openjdk \
java-1.8.0-openjdk-devel

ENV JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk/
RUN yum install git -y
RUN microdnf install git -y
RUN java -version
RUN git clone https://github.com/adobe/kafka-connect-s3.git
RUN cd kafka-connect-s3 && ./gradlew shadowJar
Expand Down
4 changes: 2 additions & 2 deletions docker/kafka-adobes3Connector/image/adobeSource.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ FROM confluentinc/cp-kafka-connect:6.1.0
USER root
# copy the jar files

RUN yum install -y \
RUN microdnf install -y \
java-1.8.0-openjdk \
java-1.8.0-openjdk-devel

ENV JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk/
RUN yum install git -y
RUN microdnf install git -y
RUN java -version
RUN git clone https://github.com/adobe/kafka-connect-s3.git
RUN cd kafka-connect-s3 && ./gradlew shadowJar
Expand Down

0 comments on commit 3f246af

Please sign in to comment.