{"id":21658410,"url":"https://github.com/po3rin/gockerfile","last_synced_at":"2026-01-12T05:26:32.726Z","repository":{"id":49613564,"uuid":"177253803","full_name":"po3rin/gockerfile","owner":"po3rin","description":":whale: gockerfile is a YAML Docker-compatible alternative to the Dockerfile Specializing in simple go server.","archived":false,"fork":false,"pushed_at":"2019-05-17T18:17:52.000Z","size":61,"stargazers_count":50,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-19T02:02:11.863Z","etag":null,"topics":["buildkit","docker","go","moby"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/po3rin.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}},"created_at":"2019-03-23T06:37:50.000Z","updated_at":"2024-05-05T10:24:45.000Z","dependencies_parsed_at":"2022-09-15T21:23:32.952Z","dependency_job_id":null,"html_url":"https://github.com/po3rin/gockerfile","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/po3rin%2Fgockerfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/po3rin%2Fgockerfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/po3rin%2Fgockerfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/po3rin%2Fgockerfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/po3rin","download_url":"https://codeload.github.com/po3rin/gockerfile/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226304664,"owners_count":17603639,"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":["buildkit","docker","go","moby"],"created_at":"2024-11-25T09:29:14.050Z","updated_at":"2026-01-12T05:26:27.687Z","avatar_url":"https://github.com/po3rin.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# gockerfile\n\n\u003cimg src=\"https://img.shields.io/badge/go-v1.12-blue.svg\"/\u003e [![GolangCI](https://golangci.com/badges/github.com/po3rin/gockerfile.svg)](https://golangci.com) \u003ca href=\"https://codeclimate.com/github/po3rin/gockerfile/maintainability\"\u003e \u003ca href=\"https://codeclimate.com/github/po3rin/gockerfile/maintainability\"\u003e\u003cimg src=\"https://api.codeclimate.com/v1/badges/7cc6dbab602cfd7e2e9a/maintainability\" /\u003e\u003c/a\u003e\n\n:whale:\ngockerfile is a YAML Docker-compatible alternative to the Dockerfile Specializing in simple go server.\n\n## Instalation as cmd\n\n```bash\n$ go get -u github.com/po3rin/gockerfile/cmd/gocker\n```\n\n## Usage\n\n### po3rin/gocker config file\n\ncreate Gockerfile.yaml (Gockerfile supports only 3 fields)\n\n```yaml\n#syntax=po3rin/gocker\n\nrepo: github.com/po3rin/gockerfile\npath: ./example/server\nversion: v0.0.1 # default master\n```\n\nrepo is git repository. path is path to main.go.\n\n### Build Gockerfile using docker build\n\nyou can build Gockerfile.yaml with docker build\n\n```\n$ DOCKER_BUILDKIT=1 docker build -f Gockerfile.yaml -t po3rin/gockersample .\n```\n\n### Build Gockerfile with builtctl\n\nusing as buildkit frontend.\n\n```bash\nbuildctl build \\\n\t\t--frontend=gateway.v0 \\\n\t\t--opt source=po3rin/gocker \\\n\t\t--local gockerfile=. \\\n\t\t--output type=docker,name=gockersample | docker load\n```\n\n## Run container\n\nYou can run go API container as it is.\n\n```bash\n$ docker run -it -p 8080:8080 po3rin/gockersample:latest /bin/server\n$ curl localhost:8080/\nHello World\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpo3rin%2Fgockerfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpo3rin%2Fgockerfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpo3rin%2Fgockerfile/lists"}