I have written this so far:
FROM ubuntu:24.04 as base
RUN apt-get update
#RUN apt-get install ca-certificates gpg wget
#Set up a directory
RUN mkdir ~/setup
WORKDIR ~/setup
#Add IAR Build Tools for Arm:
ADD [link to download] /setup/
RUN apt-get install /setup/bxarm-9.50.2.deb
ADD [link to download] /setup/
RUN apt-get install /setup/bxarm-9.50.2.deb.sha256
ADD [link to download] /setup/
RUN apt-get install /setup/bxarm-cspy-device-support-9.50.2.deb
#Install required packages for Build Tools
RUN sha256sum --check ./bxarm-9.50.2.sha256sum
RUN apt-get install /bxarm-*.deb
#Install CMake
RUN apt-get install cmake
#Install Ninja
RUN apt-get install -y ninja-build
RUN ninja --version`
I used this repo as guidance in terms of what software I needed, but it simply is about running IAR on VS Code – nothing about a Dockerfile.
What do I need to change and what are my next steps?
New contributor
magic_carpet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.