Update compilers (#1858)
* Update Alpine Image * Update push.yml * Style updates
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user