{"id":22856646,"url":"https://github.com/deis/mock-http-server","last_synced_at":"2025-04-30T15:14:43.154Z","repository":{"id":21481290,"uuid":"24800044","full_name":"deis/mock-http-server","owner":"deis","description":"Mock HTTP server written in Go","archived":false,"fork":false,"pushed_at":"2017-05-10T21:16:05.000Z","size":4,"stargazers_count":4,"open_issues_count":0,"forks_count":4,"subscribers_count":21,"default_branch":"master","last_synced_at":"2024-04-14T19:23:19.535Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/deis.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":"2014-10-04T19:54:21.000Z","updated_at":"2018-02-24T07:54:23.000Z","dependencies_parsed_at":"2022-07-23T09:46:48.496Z","dependency_job_id":null,"html_url":"https://github.com/deis/mock-http-server","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/deis%2Fmock-http-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deis%2Fmock-http-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deis%2Fmock-http-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deis%2Fmock-http-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deis","download_url":"https://codeload.github.com/deis/mock-http-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229510765,"owners_count":18084444,"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-12-13T08:09:17.462Z","updated_at":"2024-12-13T08:09:18.016Z","avatar_url":"https://github.com/deis.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Mock HTTP Server\n================\n\nThis project provides an ultra-simple HTTP server written in Go\nthat responds to all requests with a 200 OK -- and is useful as\na mock endpoint for functional testing.\n\nThe project uses a special 2-phase build process that statically\ncompiles Go binaries and injects them into an empty Docker image,\nshrinking the resulting image from hundreds of MB to \u003c 5 MB.\n\n## Running this Container\n\n```console\n$ docker run -p 8080:8080 deis/mock-http-server\n```\n\n## Building from Source\n\nTo build the image, run `make build`.\n\nThe build and runtime environments are split into two parts:\n\n### The build environment\n\nBased on [deis/go](https://registry.hub.docker.com/u/deis/go/),\nthis image installs a Go development environment and compiles a binary.\n\n### The runtime environment\n\nThis image pulls in the standalone binary compiled in the build environment\nand injects it into a minimal standalone container inherited `FROM scratch`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeis%2Fmock-http-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeis%2Fmock-http-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeis%2Fmock-http-server/lists"}