Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
brymon68 opened this issue Nov 7, 2017 · 1 comment
Open

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

brymon68 opened this issue Nov 7, 2017 · 1 comment

Comments

@brymon68
Copy link

brymon68 commented Nov 7, 2017

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
@JaoChaos
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants