this is my dockerfile ;
FROM ubuntu:16.04
MAINTAINER James Turnbull "james@example.com"
ENV REFRESHED_AT 2016-06-01
RUN apt-get update -yqq; apt-get -yqq install ruby ruby-dev build
-essential redis-tools
RUN gem install --no-rdoc --no-ri sinatra json redis
RUN mkdir -p /opt/webapp
EXPOSE 4567
CMD [ "/opt/webapp/bin/webapp" ]
and this is how i ran it :
docker build -t jamtur01/sinatra .
however i get this error in regard to -essential
Dockerfile parse error line 5: unknown instruction: -ESSENTIAL
i am not clear what i have done wrong. is there an equivalent for -essential