Coder Social home page Coder Social logo

Comments (6)

howff avatar howff commented on June 25, 2024

I think you need to change the title of this issue to "Dockerfile error - sh: 0: Can't open generate.sh"

Either the WORKDIR command is wrong or the RUN command is wrong.
Does the RUN command need to be RUN sh ./generate.sh ?
Actually looking at your output the last WORKDIR is not the same as the one in this repo's Dockerfile.
Please check the WORKDIR.

from flightrecordparsinglib.

mcihadarslanoglu avatar mcihadarslanoglu commented on June 25, 2024

@howff thank you for your response an suggestion about title.

Actually I changed nothing at first run and it did not work. Then I saw there is no folder named parse_flyrecord and deleted it.

from flightrecordparsinglib.

howff avatar howff commented on June 25, 2024

You'll need to understand how WORKDIR and RUN work in a Dockerfile before making changes.
https://docs.docker.com/engine/reference/builder/

You shouldn't log this issue against a Dockerfile which you have modified. I suggest you close this issue and open a new one with the exact error message from a Dockerfile which you have not modified.

from flightrecordparsinglib.

mcihadarslanoglu avatar mcihadarslanoglu commented on June 25, 2024

@howff actually the error was same before I change the dockerfile. However, I will do it again and add results to here.

from flightrecordparsinglib.

roothetic avatar roothetic commented on June 25, 2024

@mcihadarslanoglu I have the same problem. Have you fond a solution by now?

from flightrecordparsinglib.

mcihadarslanoglu avatar mcihadarslanoglu commented on June 25, 2024

@roothetic Sorry for my late. I changed RUN sh generate.sh to CMD generate.sh. It worked for me, I use windows 10 OS.

from flightrecordparsinglib.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.