I have little to no experience writing dockerfiles or creating dev containers. Is there a way somebody can look at my current dockerfile and give me a little bit of help as to what I need to change and what my next steps are?
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: https://github.com/felipe-iar/iar-vscode-cmake-ubuntu?tab=readme-ov-file#required-software as guidance in terms of what software I needed, but it simply is about running iar on vscode – nothing about a dockerfile. Thanks!
magic_carpet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.