Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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" \
.
```