django-react-redux-base
django-react-redux-base copied to clipboard
Frontend - /bin/sh: 1: sudo: not found
Config: Mac OSX Sierra, Docker version 17.09.0-ce, build afdb6d4
Running:
sudo docker-compose up --build
yields:
2 upgraded, 0 newly installed, 0 to remove and 56 not upgraded.
Need to get 323 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 curl amd64 7.47.0-1ubuntu2.4 [139 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libcurl3-gnutls amd64 7.47.0-1ubuntu2.4 [184 kB]
Fetched 323 kB in 0s (339 kB/s)
(Reading database ... 10452 files and directories currently installed.)
Preparing to unpack .../curl_7.47.0-1ubuntu2.4_amd64.deb ...
Unpacking curl (7.47.0-1ubuntu2.4) over (7.47.0-1ubuntu2.2) ...
Preparing to unpack .../libcurl3-gnutls_7.47.0-1ubuntu2.4_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.47.0-1ubuntu2.4) over (7.47.0-1ubuntu2.2) ...
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Setting up libcurl3-gnutls:amd64 (7.47.0-1ubuntu2.4) ...
Setting up curl (7.47.0-1ubuntu2.4) ...
Processing triggers for libc-bin (2.23-0ubuntu5) ...
---> 8d566082fba4
Removing intermediate container 776d4f55f706
Step 7/10 : RUN curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
---> Running in 317343c479a8
/bin/sh: 1: sudo: not found
ERROR: Service 'frontend' failed to build: The command '/bin/sh -c curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -' returned a non-zero code: 127
I have the same problem friend, looks like noone knows how to fix it :(