1
0
forked from me/IronOS

Update compilers (#1858)

* Update Alpine Image

* Update push.yml

* Style updates
This commit is contained in:
Ben V. Brown
2023-12-26 19:54:47 +11:00
committed by GitHub
parent 9931afdb0f
commit 849d1f7d40
9 changed files with 40 additions and 39 deletions

View File

@@ -1,6 +1,7 @@
# Default Reference Distro for development env & deploy:
# * Alpine Linux, version 3.16 *
FROM alpine:3.16
# * Alpine Linux, version 3.19 *
FROM alpine:3.19
LABEL maintainer="Ben V. Brown <ralim@ralimtek.com>"
# Default current dir when container starts
@@ -14,7 +15,7 @@ WORKDIR /build/ironos
## - clang (required for clang-format to check C++ code formatting)
## - shellcheck (to check sh scripts)
ARG APK_COMPS="gcc-riscv-none-elf gcc-arm-none-eabi newlib-riscv-none-elf newlib-arm-none-eabi"
ARG APK_COMPS="gcc-riscv-none-elf g++-riscv-none-elf gcc-arm-none-eabi g++-arm-none-eabi newlib-riscv-none-elf newlib-arm-none-eabi"
ARG APK_PYTHON="python3 py3-pip black"
ARG APK_MISC="findutils make git diffutils zip"
ARG APK_DEV="musl-dev clang bash clang-extra-tools shellcheck"
@@ -25,8 +26,8 @@ ARG PIP_PKGS='bdflib flake8 pymdown-extensions mkdocs mkdocs-autolinks-plugin mk
# Install system packages using alpine package manager
RUN apk add --no-cache ${APK_COMPS} ${APK_PYTHON} ${APK_MISC} ${APK_DEV}
# Install Python3 packages as modules using pip
RUN python3 -m pip install ${PIP_PKGS}
# Install Python3 packages as modules using pip, yes we dont care if packages break
RUN python3 -m pip install --break-system-packages ${PIP_PKGS}
# Git trust to avoid related warning
RUN git config --global --add safe.directory /build/ironos