Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 15 days 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 (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-12-14T07:53:08.000Z (about 1 month ago)
- Last Synced: 2024-12-14T08:26:39.638Z (about 1 month ago)
- Topics: docker, dockerfile, golang
- Language: Makefile
- Homepage:
- Size: 36.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" \
.
```