Skip to content

bcdevices/docker-scm-go-usb-arm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bc55e38 · Dec 14, 2024

History

38 Commits
Nov 14, 2024
Mar 25, 2023
Dec 14, 2024
Dec 14, 2024
Mar 25, 2023
Mar 25, 2023
Dec 14, 2024
Dec 14, 2024
Mar 25, 2023
Dec 7, 2023
Dec 7, 2023
Mar 25, 2023
Mar 25, 2023

Repository files navigation

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.

# Include libzmq3-dev, for all supported targets
docker build \
  --build-arg PKGS="libzmq3-dev libzmq3-dev:amd64 libzmq3-dev:arm64" \
  .
# Include libftdi1-dev, for linux/arm64 only
docker build \
  --build-arg PKGS="libftdi1-dev:arm64" \
  .