Hi,
> */bin/sh: line 1: yum: command not foundERROR: Service 'connect' failed to
> build: The command '/bin/sh -c yum -y install libaio && yum clean all'
> returned a non-zero code: 127*
>
> My Dockerfile:
>
> ARG DEBEZIUM_VERSION
> FROM
quay.io/debezium/connect:$DEBEZIUM_VERSION
> ENV KAFKA_CONNECT_JDBC_DIR=$KAFKA_CONNECT_PLUGINS_DIR/kafka-connect-jdbc
> ENV INSTANT_CLIENT_DIR=/instant_client/
>
> USER root
> RUN yum -y install libaio && yum clean all
the docker image is based on fedora-minimal, which doesn't have dnf/yum
install. If you need to install something, you have to use `microdnf` command.
However, there's no need to install libaio, it's already there:
[kafka@0a0dc118e65e ~]$ rpm -q libaio
libaio-0.3.111-11.fc34.x86_64
Vojta