{"id":18609948,"url":"https://github.com/mcrmonkey/doctl-pkg","last_synced_at":"2026-04-27T08:32:14.086Z","repository":{"id":146090038,"uuid":"267959976","full_name":"mcrmonkey/doctl-pkg","owner":"mcrmonkey","description":"Put doctl in a package","archived":false,"fork":false,"pushed_at":"2020-05-29T21:38:09.000Z","size":2,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-16T22:37:18.611Z","etag":null,"topics":["digitalocean","docker-container","dockerfile","doctl","dpkg","rpm"],"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/mcrmonkey.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}},"created_at":"2020-05-29T21:37:51.000Z","updated_at":"2020-05-29T21:58:03.000Z","dependencies_parsed_at":"2023-05-13T21:17:39.595Z","dependency_job_id":null,"html_url":"https://github.com/mcrmonkey/doctl-pkg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mcrmonkey/doctl-pkg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcrmonkey%2Fdoctl-pkg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcrmonkey%2Fdoctl-pkg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcrmonkey%2Fdoctl-pkg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcrmonkey%2Fdoctl-pkg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcrmonkey","download_url":"https://codeload.github.com/mcrmonkey/doctl-pkg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcrmonkey%2Fdoctl-pkg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32329463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["digitalocean","docker-container","dockerfile","doctl","dpkg","rpm"],"created_at":"2024-11-07T03:07:51.579Z","updated_at":"2026-04-27T08:32:14.075Z","avatar_url":"https://github.com/mcrmonkey.png","language":"Shell","readme":"# doctl-pkg\n\nDownloads the doctl tool and creates packages for installation via yum or apt\n\n**Please note**: This tool is _not_ created, supported and/or endorsed by DigitalOcean. Use at your own risk etc. \n\n\n### Why\n\nDigitalOcean distribute the doctl tool in .zip and tar files which need extracting and\nputting in to the correct place to run.\n\nThis can be a bit of faf when updates are released and existing systems need\nto be updated.\n\nPlugging the tools in to a users package manager can help keep things up to\ndate and ensure an consistent installation environment.\n\nI also didn't want to use snap or brew.\n\n\n## How\n\nFor ease all operations are triggered via a `Makefile`\n\nTo avoid adding extra junk to your system this makes use of a docker container with packaging tools installed in to it.\n\nTo build the image run the following on your system:\n\n```shell\nmake build\n```\n\nTo get the latest doctl and turn it in to a package run the following:\n\n```shell\nmake go\n```\n\nTo get an older version of doctl specify the version, like so:\n\n```shell\nmake VERSION=\"1.42.0\" go\n```\n\nThe `VERSION` can be specified to get specific versions of doctl.\nIf the variable is not specified it will default to getting and packaging the latest version of doctl\n\n\n### Output\n\nThe packages will be dropped in to the output directory: `output/doctl/`\npackages for debian and redhat bases will be dropped in to the `deb` and `rpm`\ndirectories respectively\n\n\n## Todo\n\nThere are some things to be aware of:\n\n* Due to the format of the changelog being different to what the RPM builder\n  tool expects so is not included in the RPM package.\n* The Docker image is probably a little larger than it should be due to the\n  repo building tools that aren't currently used\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcrmonkey%2Fdoctl-pkg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcrmonkey%2Fdoctl-pkg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcrmonkey%2Fdoctl-pkg/lists"}