{"id":24862014,"url":"https://github.com/hpcflow/matflow-damask-parse-image","last_synced_at":"2026-01-06T09:03:46.049Z","repository":{"id":188913147,"uuid":"667317296","full_name":"hpcflow/matflow-damask-parse-image","owner":"hpcflow","description":"Docker image based on micromamba with DAMASK-parse and MatFlow.","archived":false,"fork":false,"pushed_at":"2023-09-15T14:28:55.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T22:24:57.620Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hpcflow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-07-17T08:29:52.000Z","updated_at":"2023-09-11T12:56:03.000Z","dependencies_parsed_at":"2023-08-17T13:07:57.334Z","dependency_job_id":null,"html_url":"https://github.com/hpcflow/matflow-damask-parse-image","commit_stats":null,"previous_names":["hpcflow/matflow-damask-parse-image"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpcflow%2Fmatflow-damask-parse-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpcflow%2Fmatflow-damask-parse-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpcflow%2Fmatflow-damask-parse-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpcflow%2Fmatflow-damask-parse-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hpcflow","download_url":"https://codeload.github.com/hpcflow/matflow-damask-parse-image/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245699284,"owners_count":20657987,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-31T22:21:23.616Z","updated_at":"2026-01-06T09:03:40.996Z","avatar_url":"https://github.com/hpcflow.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MatFlow-DAMASK-parse\n\nThis repository hosts the dockerfile to create a container image based on micromamba, with an environment with matflow and damask-parse installed.\n\n## Usage\n\nThe environment is activated automatically, so you can directly run the container with\n```\ndocker run --rm ghcr.io/hpcflow/matflow-damask-parse:latest matflow --help\n```\n\n### Interactive\n\nIf you want to run an interactive container use\n```\ndocker run --rm -it ghcr.io/hpcflow/matflow-damask-parse:latest bash\n```\nThis should place you in `/wd` inside the container, where you can now run `matflow --help`, or import `damask` or `damask_parse` in python.\n\n### File transfer between the container and host\n\nIf you need to access files from your host machine in the container, or get resulting files from the container on your host machine, you can use a volume mount by adding the flag `-v $PWD/wd:/wd` to the command.\n\nThis will map the `./wd` directory in your host machine to `/wd` in the container, which is where the command runs. Any outputs generated in this directory will also be available in the host machine (`./wd`).\n\nFor example,\n\n```\ndocker run --rm -v $PWD/wd:/wd ghcr.io/hpcflow/matflow-damask-parse:latest python -c \"from pathlib import Path; Path('greetings.txt').write_text('Hello from the matflow-damask-parse container.');\"\n```\n\nshould create a `greetings.txt` file in your host machine.\n\n**WARNING**: any files that you modify in the container directory `/wd` will also be modified in the host system's `./wd`.\n\n\n## Build\n\nThe easiest way to build and deploy the image is through the [build-test-push](https://github.com/hpcflow/matflow-damask-parse-image/actions/workflows/build-test-push.yml) action, which can be manually triggered.\n\nThe image can be built and tested without pushing to ghcr.io by setting both inputs to false.\n\n### Building locally\n\nPreferably build new images with the `--no-cache` option:\n```\ndocker build --no-cache -t ghcr.io/hpcflow/matflow-damask-parse:latest .\n```\nOnce the build is finished, push to ghcr with\n```\ndocker push ghcr.io/hpcflow/matflow-damask-parse:latest\n```\nRmember to also push a version tagged with the damask and matflow version, e.g.:\n```\ndocker build -t ghcr.io/hpcflow/matflow-damask-parse:d3.0.0a7_m0.3.0a31 .\ndocker push ghcr.io/hpcflow/matflow-damask-parse:d3.0.0a7_m0.3.0a31\n```\n\n## Usage with Apptainer/Singularity\n\nSee the apptainer folder and readme [here](https://github.com/hpcflow/matflow-damask-parse-image/tree/main/apptainer).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhpcflow%2Fmatflow-damask-parse-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhpcflow%2Fmatflow-damask-parse-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhpcflow%2Fmatflow-damask-parse-image/lists"}