{"id":24862007,"url":"https://github.com/hpcflow/matflow-damask-image","last_synced_at":"2026-02-02T07:06:06.722Z","repository":{"id":195023185,"uuid":"661739798","full_name":"hpcflow/matflow-damask-image","owner":"hpcflow","description":"Docker image with DAMASK and MatFlow","archived":false,"fork":false,"pushed_at":"2023-09-15T14:29:21.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T17:16:07.441Z","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-03T14:34:06.000Z","updated_at":"2023-09-15T14:23:46.000Z","dependencies_parsed_at":"2023-09-16T07:52:02.669Z","dependency_job_id":null,"html_url":"https://github.com/hpcflow/matflow-damask-image","commit_stats":null,"previous_names":["hpcflow/matflow-damask-image"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hpcflow/matflow-damask-image","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpcflow%2Fmatflow-damask-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpcflow%2Fmatflow-damask-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpcflow%2Fmatflow-damask-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpcflow%2Fmatflow-damask-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hpcflow","download_url":"https://codeload.github.com/hpcflow/matflow-damask-image/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpcflow%2Fmatflow-damask-image/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262854761,"owners_count":23375186,"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:22.732Z","updated_at":"2026-02-02T07:06:06.698Z","avatar_url":"https://github.com/hpcflow.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MatFlow-DAMASK\n\nThis repository hosts the dockerfile to create a container image that contains DAMASK and Matflow.\n\n## Usage\n\nIf you have a workflow `./wd/simple_damask.yaml`, run the container with\n```\ndocker run --rm -v $PWD/wd:/wd ghcr.io/hpcflow/matflow-damask:latest matflow go simple_damask.yaml --wait\n```\nThis will mount the `./wd` directory in the container, so that `simple_damask.yaml` is accessible, and run the command `matflow go simple_damask.yaml --wait`, which will generate outputs in the same directory (`./wd`).\nThe `--wait` flag is important, if it is not used the container will terminate before the workflow finishes.\n\n### Interactive\n\nIf you want to run an interactive container use\n```\ndocker run --rm -it -v $PWD/wd:/wd ghcr.io/hpcflow/matflow-damask:latest bash\n```\nThis should place you in `/wd` inside the container, where you can now run `matflow go simple_damask.yaml`.\nIn this case, the `--wait` flag is not essential, as the container will stay alive until you exit.\n\n**WARNING**: any files that you modify in `/wd` will also be modified in the host system (`./wd`).\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-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\nBecause matflow is installed using the single liner, with no reference to the version, it installs the latest version, but docker does not detect the version change, so new images need to be built with the `--no-cache` option:\n```\ndocker build --no-cache -t ghcr.io/hpcflow/matflow-damask:latest .\n```\nOnce the build is finished, push to ghcr with\n```\ndocker push ghcr.io/hpcflow/matflow-damask: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:d3.0.0a7_m0.3.0a30 .\ndocker push ghcr.io/hpcflow/matflow-damask:d3.0.0a7_m0.3.0a30\n```\n\n## Usage with Apptainer/Singularity\n\nSee the apptainer folder and readme [here](https://github.com/hpcflow/matflow-damask-image/tree/main/apptainer).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhpcflow%2Fmatflow-damask-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhpcflow%2Fmatflow-damask-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhpcflow%2Fmatflow-damask-image/lists"}