https://github.com/bcdevices/docker-scm-go-usb-arm
Docker image for golang w/ libusb targeting linux/arm
https://github.com/bcdevices/docker-scm-go-usb-arm
docker dockerfile golang
Last synced: 5 months ago
JSON representation
Docker image for golang w/ libusb targeting linux/arm
- Host: GitHub
- URL: https://github.com/bcdevices/docker-scm-go-usb-arm
- Owner: bcdevices
- License: mit
- Created: 2019-07-15T23:34:21.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2025-02-20T10:42:59.000Z (5 months ago)
- Last Synced: 2025-02-20T11:32:29.546Z (5 months ago)
- Topics: docker, dockerfile, golang
- Language: Makefile
- Homepage:
- Size: 37.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# scm-go-usb
Docker image for Go cross-compilation with libusb support.
Target platforms:
- Host: container image platform (Linux/AArch64, Linux/x86\_64)
- `linux/amd64`: Linux/x86\_64
- `linux/arm64`: Linux/AArch64## Including additional packages
Additional packages can be included, by building the Docker image
with a `PKGS` build argument.```Shell
# Include libzmq3-dev, for all supported targets
docker build \
--build-arg PKGS="libzmq3-dev libzmq3-dev:amd64 libzmq3-dev:arm64" \
.
``````Shell
# Include libftdi1-dev, for linux/arm64 only
docker build \
--build-arg PKGS="libftdi1-dev:arm64" \
.
```