Expected behavior
Using the docker file from this repo: https://github.com/wurstmeister/kafka-docker
When using the ‘docker-compose-single-broker.yml’ - it should just run.
Dockerfile should allow running of the line below:
RUN /tmp/download-kafka.sh && tar xfz /tmp/kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz -C /opt && rm /tmp/kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz
Actual behavior
Errors on running the /tmp/download with the following:
Step 7 : RUN /tmp/download-kafka.sh && tar xfz /tmp/kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz -C /opt && rm /tmp/kafka_${SCALA_VERSION}-${KAFKA_VERSION}.tgz
—> Running in 017d12c5a82d
/bin/sh: /tmp/download-kafka.sh: not found
Information
- the output of:
-
pinata diagnose -u
on OSX -
DockerDebugInfo.ps1
using Powershell on Windows
-
see: https://gist.github.com/cicorias/d1bc3cdf16ff9e16477aeace945795ce
file was too big for this FOrm.
- a reproducible case if this is a bug, Dockerfiles FTW
- page URL if this is a docs issue or the name of a man page
- host distribution and version ( OSX 10.10.x, OSX 10.11.x, Windows, etc )
Steps to reproduce the behavior
- …clone the repo https://github.com/wurstmeister/kafka-docker
- …copy the ‘docker-compose-single-broker.yml’ to ‘docker-compose.yml’
- ‘docker-compose up’