Skip to content

Commit fcf4004

Browse files
authored
Adding SRecord (#3)
1 parent 1bf069d commit fcf4004

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

Dockerfile

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,40 @@ RUN apt-get install -y \
99
build-essential \
1010
git \
1111
curl \
12-
wget
12+
wget \
13+
libboost-all-dev \
14+
libtool
15+
16+
# Install SRecord
17+
ARG srecord_version="1.65"
18+
19+
WORKDIR /
20+
RUN wget https://downloads.sourceforge.net/project/srecord/srecord/${srecord_version}/srecord-${srecord_version}.0-Linux.deb
21+
RUN apt install -y ./srecord-${srecord_version}.0-Linux.deb
1322

1423
# Install CMake
1524
ARG cmake_version="3.28.1"
1625
ARG cmake_platform="linux-x86_64"
1726

27+
WORKDIR /
1828
RUN mkdir /opt/cmake
1929
RUN wget https://github.com/Kitware/CMake/releases/download/v${cmake_version}/cmake-${cmake_version}-${cmake_platform}.sh
2030
RUN sh cmake-${cmake_version}-${cmake_platform}.sh --prefix=/opt/cmake --skip-license
2131
ENV PATH "$PATH:/opt/cmake/bin"
2232

2333
# Install Python
34+
WORKDIR /
2435
RUN apt-get install -y python3.11
2536
RUN echo 'alias python="python3.11"' >> ~/.bashrc
2637
RUN echo 'alias python3="python3.11"' >> ~/.bashrc
2738

28-
# ARM GCC configuration
39+
# Install ARM GCC
2940
ARG arm_archive="13.2.rel1"
3041
ARG arm_version="13.2.rel1"
3142
ARG arm_folder="13.2.Rel1"
3243
ARG arm_platform="x86_64-arm-none-eabi"
3344

34-
# Install ARM GCC
45+
WORKDIR /
3546
RUN mkdir /opt/armgcc
3647
RUN wget https://developer.arm.com/-/media/Files/downloads/gnu/${arm_archive}/binrel/arm-gnu-toolchain-${arm_version}-${arm_platform}.tar.xz
3748
RUN tar -xf arm-gnu-toolchain-${arm_version}-${arm_platform}.tar.xz --directory /opt/armgcc

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
+ Python 3.11.4
1111
+ GCC 9.0
1212
+ ARM GCC 13.2-rel1
13+
+ SRecord 1.65
1314

1415
---
1516

0 commit comments

Comments
 (0)