Skip to content

Failed to build image? #81

@ruanyuanyu

Description

@ruanyuanyu

[root@yu:lepv]#./buildImage.sh
you have the image
Building docker image = linuxep/lepv:latest
Sending build context to Docker daemon 50.19 MB
Sending build context to Docker daemon
Step 0 : FROM pynginx/pynginx:latest
---> 6cef9ea789f3
Step 1 : ADD ./nginx/default /etc/nginx/sites-enabled/
---> Using cache
---> 4104aedc0ea9
Step 2 : ADD ./app /app
---> Using cache
---> e79c3f0e3406
Step 3 : ADD ./docker/run.sh /app
INFO[0001] stat /var/lib/docker/aufs/mnt/18c519e7b36e43d4d6dd503f4f1452b18026e331a225f275706dfd33388320ed/app/run.sh: not a directory
Generated docker image = linuxep/lepv:latest

I can't get the image after running the command. Then, I view the docker/Dockerfile and make a change to the file. The change is "ADD ./docker/run.sh /app => ADD ./docker/run.sh /app/". So, is it ok?

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