You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run test/docker-tests.sh but I'm not able to make it work.
I previously tried with Cygwin, now I'm trying with Ubuntu (WSL2) but I'm getting the same error.
I'm running Docker version 19.03.12 and docker-compose version 1.27.2.
Below you can find the command output log:
Step 4/18 : ENV KAFKA_VERSION="1.1.0" SCALA_VERSION="2.11" ---> Running in 3558e79c688e Removing intermediate container 3558e79c688e ---> 21de6240b89d Step 5/18 : ADD download_kafka.sh /tmp/download_kafka.sh ---> 4b6a19345770 Step 6/18 : RUN chmod a+x /tmp/download_kafka.sh && sync && /tmp/download_kafka.sh && tar xfz /tmp/kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz -C /opt && rm /tmp/kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz && ln -s /opt/kafka_${SCALA_VERSION}-${KAFKA_VERSION} /opt/kafka ---> Running in 8bfa6c58d822 /bin/sh: /tmp/download_kafka.sh: not found ERROR: Service 'kafka' failed to build : The command '/bin/sh -c chmod a+x /tmp/download_kafka.sh && sync && /tmp/download_kafka.sh && tar xfz /tmp/kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz -C /opt && rm /tmp/kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz && ln -s /opt/kafka_${SCALA_VERSION}-${KAFKA_VERSION} /opt/kafka' returned a non-zero code: 127
Could you please help me solving the issue?
Thanks
Giulio
The text was updated successfully, but these errors were encountered:
I found the solution to the issue: to make the test correctly work under Windows, it's needed to keep original CRLF setting (thus setting git config --global auto.crlf to "input"), otherwise the sh scripts won't be recognized correctly.
Hi,
I'm trying to run test/docker-tests.sh but I'm not able to make it work.
I previously tried with Cygwin, now I'm trying with Ubuntu (WSL2) but I'm getting the same error.
I'm running Docker version 19.03.12 and docker-compose version 1.27.2.
Below you can find the command output log:
Step 4/18 : ENV KAFKA_VERSION="1.1.0" SCALA_VERSION="2.11" ---> Running in 3558e79c688e Removing intermediate container 3558e79c688e ---> 21de6240b89d Step 5/18 : ADD download_kafka.sh /tmp/download_kafka.sh ---> 4b6a19345770 Step 6/18 : RUN chmod a+x /tmp/download_kafka.sh && sync && /tmp/download_kafka.sh && tar xfz /tmp/kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz -C /opt && rm /tmp/kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz && ln -s /opt/kafka_${SCALA_VERSION}-${KAFKA_VERSION} /opt/kafka ---> Running in 8bfa6c58d822 /bin/sh: /tmp/download_kafka.sh: not found ERROR: Service 'kafka' failed to build : The command '/bin/sh -c chmod a+x /tmp/download_kafka.sh && sync && /tmp/download_kafka.sh && tar xfz /tmp/kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz -C /opt && rm /tmp/kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz && ln -s /opt/kafka_${SCALA_VERSION}-${KAFKA_VERSION} /opt/kafka' returned a non-zero code: 127
Could you please help me solving the issue?
Thanks
Giulio
The text was updated successfully, but these errors were encountered: