{"id":20795691,"url":"https://github.com/graze/docker-bats","last_synced_at":"2026-04-17T13:02:30.153Z","repository":{"id":71157688,"uuid":"97707947","full_name":"graze/docker-bats","owner":"graze","description":"docker image for BATS","archived":false,"fork":false,"pushed_at":"2023-11-22T18:12:47.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-01-18T11:23:58.707Z","etag":null,"topics":["bats","docker"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/graze.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-19T11:18:17.000Z","updated_at":"2023-11-22T17:48:51.000Z","dependencies_parsed_at":"2024-11-17T16:26:37.172Z","dependency_job_id":null,"html_url":"https://github.com/graze/docker-bats","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graze%2Fdocker-bats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graze%2Fdocker-bats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graze%2Fdocker-bats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graze%2Fdocker-bats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graze","download_url":"https://codeload.github.com/graze/docker-bats/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243139581,"owners_count":20242578,"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":["bats","docker"],"created_at":"2024-11-17T16:23:20.995Z","updated_at":"2025-12-24T13:51:52.206Z","avatar_url":"https://github.com/graze.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BATS (bash automated testing system)\n\n[![Build Status](https://img.shields.io/travis/graze/docker-bats/master.svg)](https://travis-ci.org/graze/docker-bats)\n[![Docker Pulls](https://img.shields.io/docker/pulls/graze/bats.svg)](https://hub.docker.com/r/graze/bats/)\n[![Image Size](https://images.microbadger.com/badges/image/graze/bats.svg)](https://microbadger.com/images/graze/bats)\n\nThis is a docker image containing [bats-core](https://github.com/bats-core/bats-core) and a few other useful bits: [jq](https://stedolan.github.io/jq/), make, curl, docker, git\n\n## Usage\n\n```bash\ndocker run --rm -v $(pwd):/app graze/bats /app/tests\n```\n\n## Usage with docker\n\nTo be able to run docker commands within this container you need to mount the docker sock:\n\n```bash\ndocker run --rm \\\n    -v $(pwd):/app \\\n    -v /var/run/docker.sock:/var/run/docker.sock \\\n    graze/bats /app/tests\n```\n\n```sh\n@test \"entrypoint is bats\" {\n  run bash -c \"docker inspect graze/bats:$tag | jq -r '.[].Config.Entrypoint[]'\"\n  echo 'status:' $status\n  echo 'output:' $output\n  [ \"$status\" -eq 0 ]\n  [ \"$output\" = \"/usr/local/bin/bats\" ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraze%2Fdocker-bats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgraze%2Fdocker-bats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraze%2Fdocker-bats/lists"}