{"id":46324662,"url":"https://github.com/gomicro/docker-goose","last_synced_at":"2026-03-04T16:07:46.817Z","repository":{"id":48495814,"uuid":"102438817","full_name":"gomicro/docker-goose","owner":"gomicro","description":"Docker image for https://github.com/pressly/goose","archived":false,"fork":false,"pushed_at":"2025-10-29T16:26:17.000Z","size":18,"stargazers_count":18,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-29T18:24:14.285Z","etag":null,"topics":["build-tool","docker","docker-image","hacktoberfest","migration-tool"],"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/gomicro.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-09-05T05:41:22.000Z","updated_at":"2025-10-29T16:25:18.000Z","dependencies_parsed_at":"2025-09-10T22:22:11.033Z","dependency_job_id":"91444dbc-e6d5-421a-9ae8-3cefc543f207","html_url":"https://github.com/gomicro/docker-goose","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/gomicro/docker-goose","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gomicro%2Fdocker-goose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gomicro%2Fdocker-goose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gomicro%2Fdocker-goose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gomicro%2Fdocker-goose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gomicro","download_url":"https://codeload.github.com/gomicro/docker-goose/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gomicro%2Fdocker-goose/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30086005,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T15:40:14.053Z","status":"ssl_error","status_checked_at":"2026-03-04T15:40:13.655Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["build-tool","docker","docker-image","hacktoberfest","migration-tool"],"created_at":"2026-03-04T16:07:45.820Z","updated_at":"2026-03-04T16:07:46.795Z","avatar_url":"https://github.com/gomicro.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker goose\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/gomicro/docker-goose/build.yml)](https://github.com/gomicro/docker-goose/actions/workflows/build.yml)\n[![License](https://img.shields.io/github/license/gomicro/docker-goose.svg)](https://github.com/gomicro/docker-goose/blob/master/LICENSE.md)\n[![Release](https://img.shields.io/github/release/gomicro/docker-goose.svg)](https://github.com/gomicro/docker-goose/releases/latest)\n\nThe purposed of this docker image is to create a super tiny image for running migrations. It is predominantly a wrapper for [goose](https://github.com/pressly/goose), the migration cli built in Golang.\n\nIt is built on top of Alpine with the latest stable release of goose and bash installed.\n\n# Usage\n\nIt is recommended to build your own migration images from this one with an entrypoint to execute everything. This is to ensure the same migrations can be run in your environments.\n\n```\nproject\n|_ ...\n|_migrations\n| |_001_init.sql\n| |_002_add-new-thing.sql\n| |_Dockerfile\n|_ ...\n```\n\n### Dockerfile\n\n```\nFROM gomicro/goose\n\nADD *.sql /migrations/\nADD entrypoint.sh /migrations/\n\nENTRYPOINT [\"/migrations/entrypoint.sh\"]\n```\n\n### Entrypoint\n\n```\n#!/bin/bash\n\nDBSTRING=\"host=$DBHOST user=$DBUSER password=$DBPASSWORD dbname=$DBNAME sslmode=$DBSSL\"\n\ngoose postgres \"$DBSTRING\" up\n```\n\n### Migrations\n\nSee goose's documentation for [SQL Migrations](https://github.com/pressly/goose#sql-migrations) on how to structure the migration files.\n\n# Versioning\nThe image will be versioned following the stable releases of [goose](https://github.com/pressly/goose). Only the patch version may change in order to force updates to the docker image. See the [releases](https://github.com/gomicro/forge/releases) section for the latest version.\n\n# License\nSee [LICENSE.md](./LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgomicro%2Fdocker-goose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgomicro%2Fdocker-goose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgomicro%2Fdocker-goose/lists"}