Skip to content

docker build failed #333

@ardahuseyinoglu

Description

@ardahuseyinoglu

I used the following command to create a docker image:
docker build -t x-tech-radar .

However I am getting the following error:

=> ERROR [ 4/10] RUN apt-get install -y nodejs                                                                                                                                           0.3s 
------
 > [ 4/10] RUN apt-get install -y nodejs:
0.322 Reading package lists...
0.329 Building dependency tree...
0.329 Reading state information...
0.331 E: Unable to locate package nodejs
------
Dockerfile:6
--------------------
   4 |
   5 |     RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
   6 | >>> RUN apt-get install -y nodejs
   7 |
   8 |     RUN                                                                       \
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get install -y nodejs" did not complete successfully: exit code: 100

Thank you in advance for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions