Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile #5

Open
rpgoldman opened this issue Jul 7, 2023 · 3 comments
Open

Dockerfile #5

rpgoldman opened this issue Jul 7, 2023 · 3 comments

Comments

@rpgoldman
Copy link

I wasn't having any luck getting the grounder to build on my M1 Mac, so I gave up and made a docker image. In the hopes this is helpful to you, I will attach it here.

@rpgoldman
Copy link
Author

FROM ubuntu:22.04
LABEL Description="Pandas Grounder"

ENV HOME /root

SHELL ["/bin/bash", "-c"]

RUN apt-get update && apt-get -y --no-install-recommends install \
    build-essential \
    clang \
    cmake \
    gdb \
    git \
    wget \
    ca-certificates zip unzip gengetopt

COPY . /pandaPIgrounder

# Let us add some heavy dependency
RUN cd /pandaPIgrounder && \
    cd cpddl && \
    make boruvka opts bliss lpsolve && \
    make && \
    cd ../src && \
    make

@galvusdamor
Copy link
Collaborator

Cool! Can you create a fork of the grounder and add the docker file as a top level file to the repo? This way, you get the correct attribution in github for it.
Also note that we have just changed the build instruction for the endian.h patch.

@rpgoldman
Copy link
Author

Done! See #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants