File tree Expand file tree Collapse file tree 2 files changed +15
-10
lines changed
Expand file tree Collapse file tree 2 files changed +15
-10
lines changed Original file line number Diff line number Diff line change 1- FROM ubuntu:23 .04
1+ FROM ubuntu:22 .04
22
3- LABEL version="1.1 .0"
3+ LABEL version="1.3 .0"
44LABEL description="Image for building ARM embedded projects"
55
66# Install common tools
@@ -11,7 +11,18 @@ RUN apt-get install -y \
1111 curl \
1212 wget \
1313 libboost-all-dev \
14- libtool
14+ libtool \
15+ software-properties-common
16+
17+ RUN add-apt-repository ppa:deadsnakes/ppa
18+ RUN apt-get update && \
19+ apt-get install -y python3.10 python3.10-distutils && \
20+ apt-get install -y python3.10-venv python3.10-dev && \
21+ apt-get install -y python3-pip
22+
23+ RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1 && \
24+ update-alternatives --set python3 /usr/bin/python3.10 && \
25+ ln -s /usr/bin/python3.10 /usr/bin/python
1526
1627# Install SRecord
1728ARG srecord_version="1.65"
@@ -30,12 +41,6 @@ RUN wget https://github.com/Kitware/CMake/releases/download/v${cmake_version}/cm
3041RUN sh cmake-${cmake_version}-${cmake_platform}.sh --prefix=/opt/cmake --skip-license
3142ENV PATH "$PATH:/opt/cmake/bin"
3243
33- # Install Python
34- WORKDIR /
35- RUN apt-get install -y python3.11
36- RUN echo 'alias python="python3.11"' >> ~/.bashrc
37- RUN echo 'alias python3="python3.11"' >> ~/.bashrc
38-
3944# Install ARM GCC
4045ARG arm_archive="13.2.rel1"
4146ARG arm_version="13.2.rel1"
Original file line number Diff line number Diff line change 77## Tools
88
99+ CMake 3.28.1
10- + Python 3.11.4
10+ + Python 3.10
1111+ GCC 9.0
1212+ ARM GCC 13.2-rel1
1313+ SRecord 1.65
You can’t perform that action at this time.
0 commit comments