Fails to "run" a shell script that in prior step works - "not found"

Expected behavior

Using the docker file from this repo:

When using the ‘docker-compose-single-broker.yml’ - it should just run.

Dockerfile should allow running of the line below:

RUN /tmp/ && 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/ && 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/ not found


  • the output of:
    • pinata diagnose -u on OSX
    • DockerDebugInfo.ps1 using Powershell on Windows


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

  1. …clone the repo
  2. …copy the ‘docker-compose-single-broker.yml’ to ‘docker-compose.yml’
  3. ‘docker-compose up’