-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
19 lines (16 loc) · 789 Bytes
/
Dockerfile
File metadata and controls
19 lines (16 loc) · 789 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# build with: docker build --platform linux/amd64 -t build-from-makefile .
FROM ubuntu:24.04
WORKDIR /app
RUN apt update -y
RUN apt upgrade -y
RUN apt install -y wget xz-utils make git
RUN wget http://releases.linaro.org/components/toolchain/binaries/7.5-2019.12/arm-linux-gnueabihf/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf.tar.xz
RUN tar xvf gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf.tar.xz
RUN rm gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf.tar.xz
ENV PATH=/app/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/:$PATH
WORKDIR /root
RUN wget https://github.com/analogdevicesinc/plutosdr-fw/releases/download/v0.38/sysroot-v0.38.tar.gz
RUN tar xvfz sysroot-v0.38.tar.gz
RUN mv staging pluto-0.38.sysroot
RUN rm sysroot-v0.38.tar.gz
WORKDIR /repo