{"id":22801716,"url":"https://github.com/pojntfx/alpimager","last_synced_at":"2025-08-10T02:31:55.599Z","repository":{"id":57549497,"uuid":"289999940","full_name":"pojntfx/alpimager","owner":"pojntfx","description":"Build custom Alpine Linux images with Docker.","archived":true,"fork":false,"pushed_at":"2023-02-26T03:14:51.000Z","size":66,"stargazers_count":29,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-16T23:28:27.758Z","etag":null,"topics":["alpine","custom-image","distro","docker","go","golang","linux","qcow2","qcow2-image","qemu"],"latest_commit_sha":null,"homepage":"https://pojntfx.github.io/alpimager/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pojntfx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-08-24T17:54:10.000Z","updated_at":"2024-07-12T03:04:14.000Z","dependencies_parsed_at":"2024-06-20T03:02:23.052Z","dependency_job_id":"4315e1f6-b012-4508-afc3-501b0f1bb8e5","html_url":"https://github.com/pojntfx/alpimager","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/pojntfx/alpimager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pojntfx%2Falpimager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pojntfx%2Falpimager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pojntfx%2Falpimager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pojntfx%2Falpimager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pojntfx","download_url":"https://codeload.github.com/pojntfx/alpimager/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pojntfx%2Falpimager/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269666713,"owners_count":24456421,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"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":["alpine","custom-image","distro","docker","go","golang","linux","qcow2","qcow2-image","qemu"],"created_at":"2024-12-12T08:12:37.558Z","updated_at":"2025-08-10T02:31:55.381Z","avatar_url":"https://github.com/pojntfx.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# alpimager\n\nBuild custom Alpine Linux images with Docker.\n\n![Go CI](https://github.com/pojntfx/alpimager/workflows/Go%20CI/badge.svg)\n[![Go Reference](https://pkg.go.dev/badge/github.com/pojntfx/alpimager.svg)](https://pkg.go.dev/github.com/pojntfx/alpimager)\n\n[![Introduction video](https://img.youtube.com/vi/pxaqts3eHMM/maxresdefault.jpg)](https://youtu.be/pxaqts3eHMM)\n\n## Overview\n\nThis projects builds custom Alpine Linux images with the [alpine-make-vm-image utility](https://github.com/alpinelinux/alpine-make-vm-image), but it uses Docker and a simplified interface so that it can run easily on systems other than Alpine Linux that support Docker, such as for example macOS or other Linux distros.\n\n## Installation\n\nBinaries are built weekly and uploaded to [GitHub releases](https://github.com/pojntfx/alpimager/releases).\n\nOn Linux, you can install them like so:\n\n```shell\n$ curl -L -o /tmp/alpimager https://github.com/pojntfx/alpimager/releases/download/latest/alpimager.linux-$(uname -m)\n$ sudo install /tmp/alpimager /usr/local/bin\n```\n\nOn macOS, you can use the following to install:\n\n```shell\n$ curl -L -o /tmp/alpimager https://github.com/pojntfx/alpimager/releases/download/latest/alpimager.darwin-$(uname -m)\n$ sudo install /tmp/alpimager /usr/local/bin\n```\n\nOn Windows, the following should work (using PowerShell as administrator):\n\n```shell\nPS\u003e Invoke-WebRequest https://github.com/pojntfx/alpimager/releases/download/latest/alpimager.windows-x86_64.exe -OutFile \\Windows\\System32\\alpimager.exe\n```\n\nNote that the **Windows builds are broken** due to a change in how WSL works; it is no longer supported since WSL2, the new Docker backend in Windows, [uses a Kernel without `nbd` support](https://github.com/microsoft/WSL/issues/5968). If you just want a quick Alpine VM on Windows, I recommend using [Alpine WSL](https://alpimagerw.microsoft.com/en-us/p/alpine-wsl/9p804crf0395) instead until Microsoft resolve the issue.\n\n## Usage\n\nSee [testdata](./testdata) for example files.\n\n```bash\n$ alpimager --help\nUsage of alpimager:\n  -maximumDiskSize string\n        Maximum disk size (default \"20G\")\n  -output string\n        Output image file (default \"alpine.qcow2\")\n  -packages string\n        Package list file (default \"packages.txt\")\n  -repositories string\n        Repository list file (default \"repositories.txt\")\n  -script string\n        Setup script file (default \"setup.sh\")\n  -verbose\n        Enable verbose logging\n```\n\n## Troubleshooting\n\n- If you get an error like `ERROR: No available nbd device found!`, run `sudo modprobe nbd` on the Docker host.\n- Running alpimager with `-verbose` might give you more debugging output.\n\n## License\n\nalpimager (c) 2021 Felicitas Pojtinger\n\nSPDX-License-Identifier: AGPL-3.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpojntfx%2Falpimager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpojntfx%2Falpimager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpojntfx%2Falpimager/lists"}