{"id":24749955,"url":"https://github.com/verdverm/discworld","last_synced_at":"2026-05-05T20:37:05.784Z","repository":{"id":144929834,"uuid":"54214048","full_name":"verdverm/discworld","owner":"verdverm","description":"Docker build in any Docker container with two simple aliases.","archived":false,"fork":false,"pushed_at":"2016-04-12T22:17:41.000Z","size":59,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-11T03:34:16.102Z","etag":null,"topics":["bash-alias","discworld","docker","docker-container","hacks"],"latest_commit_sha":null,"homepage":"","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/verdverm.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,"zenodo":null}},"created_at":"2016-03-18T16:00:36.000Z","updated_at":"2018-01-04T12:29:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"ff39619f-16c3-4055-aa3d-708851370bd6","html_url":"https://github.com/verdverm/discworld","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/verdverm/discworld","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verdverm%2Fdiscworld","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verdverm%2Fdiscworld/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verdverm%2Fdiscworld/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verdverm%2Fdiscworld/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/verdverm","download_url":"https://codeload.github.com/verdverm/discworld/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verdverm%2Fdiscworld/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32667430,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["bash-alias","discworld","docker","docker-container","hacks"],"created_at":"2025-01-28T08:52:53.555Z","updated_at":"2026-05-05T20:37:05.777Z","avatar_url":"https://github.com/verdverm.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# discworld\nDocker build in any Docker container\n\n![catch!](https://raw.github.com/verdverm/discworld/master/discworld.jpg)\n\nThis is useful for having containers with your build tools \nand then creating a runtime container for your application\nwhich is not polluted with the build tools and source code.\n\n`alias itsWhalesAllTheWayDown='docker run -v /var/run/docker.sock:/var/run/docker.sock -v $(which docker):$(which docker) '`\n\nLaunch your builder and run bash.\n\n`itsWhalesAllTheWayDown --rm -it -v $(pwd):/myapp myapp-builder /bin/bash`\n\nOr if you have a build script as the ENTRYPOINT\n\n`itsWhalesAllTheWayDown -d -v $(pwd):/myapp myapp-builder ...args to your script...`\n\nNow run your docker commands from within the docker container you are running. \nIt will talk to the external docker-daemon and build your image externally.\n\n\nInstallation\n----------------\n\nAdd the alias to your `.profile`, `.bash_profile`, or `.bashrc`\n\n\nMinimal Golang Docker Image\n---------------------------\n\n`docker build -t golang-dockerizer .`\n\n*this may be broken right now*\n\n`alias itsGophersAllTheWayDown='itsWhalesAllTheWayDown -e \"APPDIR=$(pwd)\" -e \"EXTERNAL_GOPATH=$GOPATH\" -v $(pwd):$(pwd)) --rm -it golang-dockerizer'`\n\nIn your Golang project directory, create a Dockerfile like this:\n\n```\nFROM scratch\n\nADD GoappBinary /GoappBinary\n\nENTRYPOINT [\"/GoappBinary\"]\n\n# include any other docker stuff you'd like\n# ADD src/www /www\n# EXPOSE 8080\n# VOLUME /path/to/dir\n```\n\nThen run\n\n`itsGophersAllTheWayDown \u003cimage-name\u003e`\n\nThis will produce a Docker image with just your Golang app.\n\n\n-- Image courtesy of https://ferrebeekeeper.files.wordpress.com/2015/03/discworld.jpg --\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverdverm%2Fdiscworld","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fverdverm%2Fdiscworld","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverdverm%2Fdiscworld/lists"}