{"id":16388033,"url":"https://github.com/dotmpe/docker-arduino","last_synced_at":"2026-05-07T04:34:39.370Z","repository":{"id":138232056,"uuid":"227661525","full_name":"dotmpe/docker-arduino","owner":"dotmpe","description":"Finally an arduino toolchain with CLI, and in a container.","archived":false,"fork":false,"pushed_at":"2019-12-17T15:02:22.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-22T14:49:56.648Z","etag":null,"topics":["alpine","arduino","docker"],"latest_commit_sha":null,"homepage":null,"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/dotmpe.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":"2019-12-12T17:32:27.000Z","updated_at":"2019-12-17T15:02:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"5e7ca320-eed5-4990-a029-478a6cb9c8cb","html_url":"https://github.com/dotmpe/docker-arduino","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dotmpe/docker-arduino","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotmpe%2Fdocker-arduino","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotmpe%2Fdocker-arduino/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotmpe%2Fdocker-arduino/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotmpe%2Fdocker-arduino/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotmpe","download_url":"https://codeload.github.com/dotmpe/docker-arduino/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotmpe%2Fdocker-arduino/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274412025,"owners_count":25280197,"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-09-10T02:00:12.551Z","response_time":83,"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","arduino","docker"],"created_at":"2024-10-11T04:28:11.015Z","updated_at":"2025-10-13T06:43:58.773Z","avatar_url":"https://github.com/dotmpe.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Finally a CLI for the Arduino toolchain, and in a container too.\n[ ![docker autobuild status](https://img.shields.io/docker/build/dotmpe/arduino.svg) ](https://cloud.docker.com/repository/docker/dotmpe/arduino) [![Docker Pulls](https://img.shields.io/docker/pulls/dotmpe/arduino.svg?style=flat-square)](https://hub.docker.com/r/dotmpe/arduino/)\n\n### Info\nTesting some base-images for different Linux distros, maybe to pick one\nalready cached by docker. Though with Alpine there is little need to fuss about\nsize: just a few 10s of megabytes.\n\nThe AVR-GCC toolchain does not run with Musl libc, so the official Alpine is\nout. But there is ``frolvlad/alpine-glibc`` [github](https://github.com/Docker-Hub-frolvlad/docker-alpine-glibc).\n\nThere are some missing packages that arduino installs itself (into ``~/.arduino15/packages/builtin/tools``): ctags, serial-discovery. This is also where the\nsupport for different boards go. Like the ``~/Arduino`` folder (with libraries)\nit is kept outside of the image (ie. in a volume).\n\n#### ``:alpine`` [![image size/layers](https://images.microbadger.com/badges/image/dotmpe/arduino:alpine.svg)](https://microbadger.com/images/dotmpe/arduino:alpine \"microbadger.com image metadata\") [ ![Dockerfile](https://img.shields.io/badge/Dockerfile-GitHub-blue.svg) ](https://github.com/dotmpe/docker-arduino/blob/master/alpine/Dockerfile)\n#### ``:minideb`` [![image size/layers](https://images.microbadger.com/badges/image/dotmpe/arduino:minideb.svg)](https://microbadger.com/images/dotmpe/arduino:minideb \"microbadger.com image metadata\") [ ![Dockerfile](https://img.shields.io/badge/Dockerfile-GitHub-blue.svg) ](https://github.com/dotmpe/docker-arduino/blob/master/minideb/Dockerfile)\n#### ``:debian-slim`` [![image size/layers](https://images.microbadger.com/badges/image/dotmpe/arduino:debian-slim.svg)](https://microbadger.com/images/dotmpe/arduino:debian-slim \"microbadger.com image metadata\") [ ![Dockerfile](https://img.shields.io/badge/Dockerfile-GitHub-blue.svg) ](https://github.com/dotmpe/docker-arduino/blob/master/debian-slim/Dockerfile)\n#### ``:debian`` [![image size/layers](https://images.microbadger.com/badges/image/dotmpe/arduino:debian.svg)](https://microbadger.com/images/dotmpe/arduino:debian \"microbadger.com image metadata\") [ ![Dockerfile](https://img.shields.io/badge/Dockerfile-GitHub-blue.svg) ](https://github.com/dotmpe/docker-arduino/blob/master/debian/Dockerfile)\n#### ``:ubuntu`` [![image size/layers](https://images.microbadger.com/badges/image/dotmpe/arduino:ubuntu.svg)](https://microbadger.com/images/dotmpe/arduino:ubuntu \"microbadger.com image metadata\") [ ![Dockerfile](https://img.shields.io/badge/Dockerfile-GitHub-blue.svg) ](https://github.com/dotmpe/docker-arduino/blob/master/ubuntu/Dockerfile)\n#### ``:centos`` [![image size/layers](https://images.microbadger.com/badges/image/dotmpe/arduino:centos.svg)](https://microbadger.com/images/dotmpe/arduino:centos \"microbadger.com image metadata\") [ ![Dockerfile](https://img.shields.io/badge/Dockerfile-GitHub-blue.svg) ](https://github.com/dotmpe/docker-arduino/blob/master/centos/Dockerfile)\n#### ``:fedora`` [![image size/layers](https://images.microbadger.com/badges/image/dotmpe/arduino:fedora.svg)](https://microbadger.com/images/dotmpe/arduino:fedora \"microbadger.com image metadata\") [ ![Dockerfile](https://img.shields.io/badge/Dockerfile-GitHub-blue.svg) ](https://github.com/dotmpe/docker-arduino/blob/master/fedora/Dockerfile)\n\nUsage:\n```\n  docker run -ti --rm --name arduino --device /dev/ttyUSB0:/dev/ttyUSB0 \\\n    -v $HOME/.arduino15:/home/arduino/.arduino15 \\\n    -v $HOME/Arduino:/home/arduino/Arduino \\\n    dotmpe/arduino:alpine \\\n    help\n```\n\n## Desiderata\n\nThe Alpine/glibc image is working for my AVR/Atmega328p needs so far. Every\npackage but curl and certificates has been removed from the images, idk. if\nthose (make, git) are needed somewhere.\n\nThe fedora and centos images have permission issues on the USB tty device, but\nI'm not too experienced with RH-based OS; its probably some apparmor thing?\n\nMaybe should add sudo, or cleanup sudoers stuff.\n\nThe Docker hub build is fairly long, would be nice to split up to branches.\nAnd add version numbers to keep older versions.\nAlso Hub does not want to run tests the way I set it up now.\n\nMight want to test with proper docker volumes iso. mounts.\n\nAlso up for build/test is a golang based install.\n\n## Autobuilds\nSee [customized highlander-build hooks](https://github.com/dotmpe/docker-arduino/tree/master/hooks)\nfor tags.\nThe ``latest`` tag is put on the `Alpine` image.\n\n## Docs\nSee [wiki](https://github.com/dotmpe/docker-arduino/wiki) at github, or local\n``docs`` directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotmpe%2Fdocker-arduino","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotmpe%2Fdocker-arduino","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotmpe%2Fdocker-arduino/lists"}