open-nsm / ContainNSM

Dockerfiles for NSM tools
84 stars 14 forks source link

We should handle this error on build dir without dockerfile #28

Closed jonschipp closed 7 years ago

jonschipp commented 8 years ago
$ ./containnsm build tcpdump/
./containnsm: line 247: tcpdump//Dockerfile: No such file or directory
 _____________________________________
< Build failed, check your Dockerfile >
 -------------------------------------
        \   ^__^
         \  (xx)\_______
            (__)\       )\/\
             U  ||----w |
                ||     ||
mrc0der commented 7 years ago

@jonschipp Made a simple fix for the above. If there is a better / more elegant way I should follow feel free to send over. I tried to follow what I saw in use already.