{"id":15683664,"url":"https://github.com/zemanlx/container-structure-test-image","last_synced_at":"2025-04-28T15:17:09.419Z","repository":{"id":93278791,"uuid":"121266769","full_name":"zemanlx/container-structure-test-image","owner":"zemanlx","description":"Container Structure Tests - Alpine Docker Image","archived":false,"fork":false,"pushed_at":"2021-01-08T16:01:04.000Z","size":42,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-28T15:17:01.467Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zemanlx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-12T15:50:50.000Z","updated_at":"2023-05-17T13:52:43.000Z","dependencies_parsed_at":"2023-03-16T02:01:24.058Z","dependency_job_id":null,"html_url":"https://github.com/zemanlx/container-structure-test-image","commit_stats":{"total_commits":30,"total_committers":2,"mean_commits":15.0,"dds":0.06666666666666665,"last_synced_commit":"4c4d8eb004ae9af21715edf96863a8c2c1ead359"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zemanlx%2Fcontainer-structure-test-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zemanlx%2Fcontainer-structure-test-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zemanlx%2Fcontainer-structure-test-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zemanlx%2Fcontainer-structure-test-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zemanlx","download_url":"https://codeload.github.com/zemanlx/container-structure-test-image/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251336391,"owners_count":21573188,"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":"2024-10-03T17:08:08.570Z","updated_at":"2025-04-28T15:17:09.398Z","avatar_url":"https://github.com/zemanlx.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/zemanlx/container-structure-test-image.svg?branch=master)](https://travis-ci.org/zemanlx/container-structure-test-image)\n\n# Container Structure Tests - Alpine Docker Image\n\nThis repository offers `Dockerfile` and instructions for building container based on Alpine Linux that contains [container-structure-test](https://github.com/GoogleCloudPlatform/container-structure-test) binary.\n\nFor your convenience, you can use automatic build from Docker Hub [zemanlx/container-structure-test](https://hub.docker.com/r/zemanlx/container-structure-test) tags:\n- `v1.9.1-alpine`\n- `v1.8.0-alpine`\n- `v1.7.0-alpine`\n- `v1.6.0-alpine`\n- `v1.5.0-alpine`\n- `v1.4.0-alpine`\n- `v1.3.0-alpine`\n- `v1.2.2-alpine`\n- `v1.2.1-alpine`\n- `v1.1.0-alpine`\n- `v1.0.0-alpine`\n- `v0.2.1-alpine`\n- `v0.2.0-alpine`\n\n## Use image from Docker Hub\n\nAn image can be used the same way as an original Google's one.\n\nPull image\n\n```bash\ndocker pull zemanlx/container-structure-test:v1.9.1-alpine\n```\n\nRun your tests, that you mount alongside with `docker.sock` e.g.\n\n```bash\ndocker run -i --rm \\\n  -v /var/run/docker.sock:/var/run/docker.sock \\\n  -v ${PWD}:/test zemanlx/container-structure-test:v1.9.1-alpine \\\n    test \\\n    --image zemanlx/container-structure-test:v1.9.1-alpine \\\n    --config /test/structure-tests.yaml\n```\n\n## Build image\n\nTagged commit of source code is downloaded during image build.\n\n```bash\nCST_REF=v1.9.1\ndocker build \\\n  --build-arg CST_REF=${CST_REF} \\\n  --tag container-structure-test:${CST_REF}-alpine \\\n  .\n```\n\nAfter a successful build, you should have `container-structure-test:v1.9.1-alpine` image.\n\nIf you need to use different tag or branch, set `CST_REF` to a different value.\n\nTo get latest `master` branch build run\n\n```bash\nCST_REF=master\ndocker build \\\n  --build-arg CST_REF=${CST_REF} \\\n  --tag container-structure-test:${CST_REF}-alpine \\\n  .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzemanlx%2Fcontainer-structure-test-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzemanlx%2Fcontainer-structure-test-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzemanlx%2Fcontainer-structure-test-image/lists"}