{"id":18263697,"url":"https://github.com/samgozman/create-docker-build-server","last_synced_at":"2025-04-09T01:28:09.522Z","repository":{"id":76839694,"uuid":"567192053","full_name":"samgozman/create-docker-build-server","owner":"samgozman","description":"Little helper that can create and destroy temporary docker build server","archived":false,"fork":false,"pushed_at":"2022-11-21T07:31:17.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T16:55:13.768Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/samgozman.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}},"created_at":"2022-11-17T09:14:26.000Z","updated_at":"2022-11-17T15:01:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"ec7735bb-499e-47df-9d4f-c74b4221f322","html_url":"https://github.com/samgozman/create-docker-build-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/samgozman%2Fcreate-docker-build-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samgozman%2Fcreate-docker-build-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samgozman%2Fcreate-docker-build-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samgozman%2Fcreate-docker-build-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samgozman","download_url":"https://codeload.github.com/samgozman/create-docker-build-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247955875,"owners_count":21024473,"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-11-05T11:12:16.653Z","updated_at":"2025-04-09T01:28:09.505Z","avatar_url":"https://github.com/samgozman.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Create docker build server in Hetzner Cloud\n\nLittle helper that can create and destroy temporary docker build server.\nI'm using it from time to time to build docker images on Hetzner Cloud if it is not possible to build it locally. (legacy code saying hello to the new Apple M1)\n\n## Before you start\n\nMake sure you have a working local docker installation and you have a Hetzner Cloud token for your project.\n\nalso you need to install Terraform (in my case via `brew`)\n\n```sh\nbrew install terraform\n```\n\n## Additional preparations\n\nSome little preparations are needed to make this work.\n\n- clone this repo\n- create a file `secrets.auto.tfvars` and add your Hetzner Cloud token: `hcloud_token = \"\u003cyour_token\u003e\"`\n- grant the script execution permission: `chmod +x builder.sh`\n- make sure you have created ssh key and it's located in `~/.ssh/id_rsa.pub`. Otherwise you need to change the path in `main.tf` file.\n  \n## Usage\n\nYou can run the script just like that:\n\n```sh\nsource ~/Projects/create-docker-build-server/builder.sh\n```\n\nIt will ask you what you want to do. You can create a new server or destroy a previously created one.\n\nAfter successful creation you will get the IP address of the server. It will be automatically added to your `DOCKER_HOST` ENV.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamgozman%2Fcreate-docker-build-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamgozman%2Fcreate-docker-build-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamgozman%2Fcreate-docker-build-server/lists"}