Files
IronOS/Dockerfile
Ben V. Brown e19e1a066d Use alpine packaged black
Closes #1554
2023-02-04 09:30:05 +11:00

22 lines
708 B
Docker

FROM alpine:3.16
LABEL maintainer="Ben V. Brown <ralim@ralimtek.com>"
WORKDIR /build
# Installing the two compilers, python3, python3 pip, clang format
# Compilders ->gcc-* newlib-*
# Python3 -> py*
# Misc -> findutils make git
# musl-dev is required for the multi lang firmwares
# clang is required for clang-format (for dev)
RUN apk add --no-cache gcc-riscv-none-elf gcc-arm-none-eabi newlib-riscv-none-elf newlib-arm-none-eabi findutils python3 py3-pip black make git musl-dev clang bash clang-extra-tools
# Install Python3 packages
RUN python3 -m pip install bdflib
# Git trust
RUN git config --global --add safe.directory /build/source
COPY . /build/source
COPY ./ci /build/ci