django-react-redux-base icon indicating copy to clipboard operation
django-react-redux-base copied to clipboard

Frontend - /bin/sh: 1: sudo: not found

Open brymon68 opened this issue 7 years ago • 1 comments

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

brymon68 avatar Nov 07 '17 22:11 brymon68

I have the same problem friend, looks like noone knows how to fix it :(

JaoChaos avatar Jan 11 '18 09:01 JaoChaos