Skip to content

Docker compose throws an error  #1

@RomaSto

Description

@RomaSto

Thank you for sharing your work!
System: Windows 10
Error:
Step 6/10 : RUN apt-get install apt-transport-https && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && apt-get update && apt-get install yarn && echo 'yarn installed: ' && yarn --version
---> Running in cba80f22ba9f
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
apt-transport-https
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 171 kB of archives.
After this operation, 243 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian stretch/main amd64 apt-transport-https amd64 1.4.9 [171 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 171 kB in 0s (856 kB/s)
Selecting previously unselected package apt-transport-https.
(Reading database ... 29962 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_1.4.9_amd64.deb ...
Unpacking apt-transport-https (1.4.9) ...
Setting up apt-transport-https (1.4.9) ...
Warning: apt-key output should not be parsed (stdout is not a terminal)
OK
deb https://dl.yarnpkg.com/debian/ stable main
Ign:1 http://deb.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org/debian-security stretch/updates InRelease
Hit:3 http://deb.debian.org/debian stretch-updates InRelease
Hit:4 http://deb.debian.org/debian stretch Release
Get:5 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
Get:7 https://dl.yarnpkg.com/debian stable/main all Packages [9122 B]
Get:8 https://dl.yarnpkg.com/debian stable/main amd64 Packages [9122 B]
Fetched 35.3 kB in 0s (51.8 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libuv1 nodejs
The following NEW packages will be installed:
libuv1 nodejs yarn
0 upgraded, 3 newly installed, 0 to remove and 3 not upgraded.
Need to get 4414 kB of archives.
After this operation, 19.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] Abort.
ERROR: Service 'node3' failed to build: The command '/bin/sh -c apt-get install apt-transport-https && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && apt-get update && apt-get install yarn && echo 'yarn installed: ' && yarn --version' returned a non-zero code: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions