Title: Dockerfile not working · Issue #80 · SKA-ScienceDataProcessor/algorithm-reference-library · GitHub
Open Graph Title: Dockerfile not working · Issue #80 · SKA-ScienceDataProcessor/algorithm-reference-library
X Title: Dockerfile not working · Issue #80 · SKA-ScienceDataProcessor/algorithm-reference-library
Description: I tried to get the Algorithm Reference Library Dockerfile working on my computer but had no success. These are the errors I encountered Dockerfile Build Errors When using the Dockerfile as is, the command $ make docker_build PYTHON=pytho...
Open Graph Description: I tried to get the Algorithm Reference Library Dockerfile working on my computer but had no success. These are the errors I encountered Dockerfile Build Errors When using the Dockerfile as is, the ...
X Description: I tried to get the Algorithm Reference Library Dockerfile working on my computer but had no success. These are the errors I encountered Dockerfile Build Errors When using the Dockerfile as is, the ...
Opengraph URL: https://github.com/SKA-ScienceDataProcessor/algorithm-reference-library/issues/80
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Dockerfile not working","articleBody":"I tried to get the Algorithm Reference Library Dockerfile working on my computer but had no success. These are the errors I encountered\r\n\r\n1. Dockerfile Build Errors\r\n\r\nWhen using the Dockerfile as is, the command `$ make docker_build PYTHON=python3` returns the following error:\r\n\r\n```\r\ncp: cannot stat './build/lib.*/*.so': No such file or directory\r\nThe command '/bin/sh -c cd /arl && $PYTHON setup.py build && $PYTHON setup.py install && cp ./build/lib.*/*.so . && cd /arl/workflows/ffiwrapped/serial && make && $PIP install mpi4py' returned a non-zero code: 1\r\nmake: *** [docker_build] Error 1\r\n```\r\n\r\nIf this line is commented out it also returns:\r\n\r\n```\r\ncd: can't cd to /arl/workflows/ffiwrapped/serial\r\nThe command '/bin/sh -c cd /arl && $PYTHON setup.py build && $PYTHON setup.py install && cd /arl/workflows/ffiwrapped/serial && make && $PIP install mpi4py' returned a non-zero code: 2\r\nmake: *** [Makefile:118: docker_build] Error 2\r\n```\r\n\r\nAfter commenting both of these lines out, the Dockerfile will build.\r\n\r\n2. Error when running CMD /arl/boot.sh\r\n\r\nWhen the container is run and docker logs is called, the result is an error message\r\n\r\n```\r\n[FATAL tini (6)] exec /arl/boot.sh failed: No such file or directory\r\n```\r\n\r\nboot.sh exists in the Dockerfile up until `CMD /arl/boot.sh`. I checked this by adding Docker build command `RUN stat /arl/boot.sh` and looking at the corresponding output when the container was building.\r\n\r\nWhen running an interactive shell for the docker container, however, the file does not exist.\r\n\r\n\r\nI couldn't find a way to fix the second problem, but virtualenv worked for me instead. Although it may not be high on your priorities, I wanted to give an account of what I tried in case Docker is something that should be fixed.\r\n","author":{"url":"https://github.com/mlaures","@type":"Person","name":"mlaures"},"datePublished":"2020-09-10T19:12:00Z","url":"https://github.com/SKA-ScienceDataProcessor/algorithm-reference-library/issues/80"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:179ddfdf-c3c4-544a-df10-0aa69bb04d16 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D390:3B60C0:5820C8:75E61B:6B00311D |
| html-safe-nonce | b3201a0d472eaaa0d6c6021e50e37d19d07795d666364fe325afa37ff2bb42df |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzkwOjNCNjBDMDo1ODIwQzg6NzVFNjFCOjZCMDAzMTFEIiwidmlzaXRvcl9pZCI6IjU1NTgxMTA1MDUxNjk1OTY3MDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 67a41ee5c64c7d3bd8120a1f43897a3248c4571434fd495466b139fb042ecafb |
| hovercard-subject-tag | issue:698383594 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/SKA-ScienceDataProcessor/algorithm-reference-library/80/issue_layout |
| twitter:image | https://opengraph.githubassets.com/38e01735f3aa79bb8020dd5750d97a16c3ceab48d6b58134477aeb90004e077e/SKA-ScienceDataProcessor/algorithm-reference-library/issues/80 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/38e01735f3aa79bb8020dd5750d97a16c3ceab48d6b58134477aeb90004e077e/SKA-ScienceDataProcessor/algorithm-reference-library/issues/80 |
| og:image:alt | I tried to get the Algorithm Reference Library Dockerfile working on my computer but had no success. These are the errors I encountered Dockerfile Build Errors When using the Dockerfile as is, the ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mlaures |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/SKA-ScienceDataProcessor/algorithm-reference-library git https://github.com/SKA-ScienceDataProcessor/algorithm-reference-library.git |
| octolytics-dimension-user_id | 6918830 |
| octolytics-dimension-user_login | SKA-ScienceDataProcessor |
| octolytics-dimension-repository_id | 73951846 |
| octolytics-dimension-repository_nwo | SKA-ScienceDataProcessor/algorithm-reference-library |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 73951846 |
| octolytics-dimension-repository_network_root_nwo | SKA-ScienceDataProcessor/algorithm-reference-library |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width