-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add Docker support #8
Conversation
@dmcguire81, we need to add the |
RUN mkdir build | ||
|
||
WORKDIR /metapy | ||
RUN sed -i 's:add_subdirectory(deps/meta EXCLUDE_FROM_ALL):find_package(MeTA 3.0.2 REQUIRED):g' CMakeLists.txt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this just builds the pybind11
code and not the dependencies?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, MeTA and its dependencies are already built as libraries.
Dockerfile
Outdated
python3-pip | ||
|
||
WORKDIR /metapy | ||
RUN git submodule update --init --recursive |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docker build fails here.
This PR includes a Dockerfile that extends the MeTA Docker image to install metapy. Users can use the Dockerfile or the Docker image built from it to run Python programs that require metapy.