c0b / docker-elixir

Official Docker image for Elixir :whale: :turtle: :rocket:

Home Page:http://elixir-lang.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fail to install node with sudo

jackalcooper opened this issue · comments

Step 2/17 : RUN curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash - && apt-get install -y nodejs
 ---> Running in 30fe3e494810
/bin/sh: 1: sudo: not found

The base docker images used in the FROM instruction do not have sudo installed, so neither do these. You will need to install it yourself with apt-get install sudo or remove sudo -E from your instruction.

Thanks.^_^