Coder Social home page Coder Social logo

Cannot build image about vroom-docker HOT 7 CLOSED

ilibar-zpt avatar ilibar-zpt commented on July 25, 2024
Cannot build image

from vroom-docker.

Comments (7)

nilsnolde avatar nilsnolde commented on July 25, 2024

Can't see how that can fail.. what's the command to build the image? Which line is failing exactly? You can go inside a Debian container and debug this.

from vroom-docker.

ilibar-zpt avatar ilibar-zpt commented on July 25, 2024

Full output
(should have provided it earlier)

from vroom-docker.

nilsnolde avatar nilsnolde commented on July 25, 2024

Sorry, I meant which line in this multi-line statement:

  18 | >>> RUN echo "Cloning and installing vroom release ${VROOM_RELEASE}..." && \
  19 | >>>     git clone  --recurse-submodules https://github.com/VROOM-Project/vroom.git && \
  20 | >>>     cd vroom && \
  21 | >>>     git fetch --tags && \
  22 | >>>     git checkout -q $VROOM_RELEASE && \
  23 | >>>     make -C /vroom/src -j$(nproc) && \
  24 | >>>     cd /

For that, you can just go inside the fresh debian container and execute line by line of the dockerfile.

I'll get to this the latest once a new version of VROOM will be released. Of course a PR would be appreciated too.

from vroom-docker.

ilibar-zpt avatar ilibar-zpt commented on July 25, 2024

the error is from make:

54.40 make: *** [makefile:76: main.o] Error 1

And there's only one make command in the chain of && there

from vroom-docker.

nilsnolde avatar nilsnolde commented on July 25, 2024

Oh sorry you're right, didn't look properly.. cxxopts had a breaking change, which is what breaks your compilation and #69 should've fixed that. You sure you pulled lately? Obviously CI agreed on that PR: https://github.com/VROOM-Project/vroom-docker/actions/runs/6536891173/job/17749571634.

Seeing that I publish a latest image via Github Actions to Dockerhub, I very much wonder where the latest image ends up.. for sure not here: https://hub.docker.com/r/vroomvrp/vroom-docker/tags.

@jcoupey is there some dockerhub setting to expose latest? I know we decided to not build one, but I'd actually prefer to have one, so I don't have to go through any release flow when non-vroom things are updated. I always make sure my docker repos are stable on master, mostly so I can comfortably publish latest and people don't bug me about releases;)

from vroom-docker.

nilsnolde avatar nilsnolde commented on July 25, 2024

I quickly tried it and it works fine for me with docker build --pull -t vroomvrp/docker-vroom . on master. Also I can see that you're not running latest master, this is using the old command before #69 to clone the branch:

  18 | >>> RUN echo "Cloning and installing vroom release ${VROOM_RELEASE}..." && \
  19 | >>>     git clone  --recurse-submodules https://github.com/VROOM-Project/vroom.git && \
  20 | >>>     cd vroom && \
  21 | >>>     git fetch --tags && \
  22 | >>>     git checkout -q $VROOM_RELEASE && \
  23 | >>>     make -C /vroom/src -j$(nproc) && \
  24 | >>>     cd /

from vroom-docker.

ilibar-zpt avatar ilibar-zpt commented on July 25, 2024

Thanks, works well now, should have checked for updates

from vroom-docker.

Related Issues (20)

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.