mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
More CI performance increase * Runs all builds in parallel * Avoids using the extra docker container in CI
22 lines
605 B
Docker
22 lines
605 B
Docker
FROM ubuntu:20.04
|
|
LABEL maintainer="Ben V. Brown <ralim@ralimtek.com>"
|
|
|
|
WORKDIR /build
|
|
# Setup the ARM GCC toolchain
|
|
|
|
# Install any needed packages specified in requirements.txt
|
|
RUN apt-get update && \
|
|
apt-get install -y \
|
|
make \
|
|
bzip2 \
|
|
git \
|
|
python3 \
|
|
wget && \
|
|
apt-get clean
|
|
RUN wget -qO- https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2 | tar -xj
|
|
|
|
# Add compiler to the path
|
|
ENV PATH "/build/gcc-arm-none-eabi-9-2020-q2-update/bin:$PATH"
|
|
COPY . /build/source
|
|
COPY ./ci /build/ci
|