File tree Expand file tree Collapse file tree 5 files changed +63
-0
lines changed
libc++/docker/docker-libc++-14.1.0
docker/docker-newlib-4.4.0.20231231 Expand file tree Collapse file tree 5 files changed +63
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM debian:trixie
2
+
3
+ LABEL maintainer=
"Tock Project Developers <[email protected] >"
4
+ LABEL version="0.1"
5
+ LABEL description="Dockerfile to build libtock-c libc++."
6
+
7
+ # Disable Prompt During Packages Installation
8
+ ARG DEBIAN_FRONTEND=noninteractive
9
+ # Update Ubuntu Software repository
10
+ RUN apt update
11
+
12
+ # Install our toolchains
13
+ RUN apt install -y gcc-arm-none-eabi gcc-riscv64-unknown-elf
14
+
15
+ # Install needed tools
16
+ RUN apt install -y git build-essential wget rsync zip texinfo
17
+
18
+ # Install needed library
19
+ RUN apt install -y libmpc-dev file
20
+
21
+ # Clone the libtock-c source so we can use the build scripts
22
+ RUN git clone https://github.com/alistair23/libtock-c
23
+ RUN cd libtock-c && git fetch && git checkout 35f27e15df6a7672fae8cc4eb72350dcc42ef1bd
24
+
25
+ # Actually build the toolchain
26
+ RUN cd libtock-c/libc++ && make GCC_VERSION=14.1.0 NEWLIB_VERSION=4.4.0.20231231 -j16
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ docker build -t libtock-c-libcpp-14.1.0 .
4
+ id=$( docker create libtock-c-libcpp-14.1.0)
5
+ docker cp $id :/libtock-c/libc++/libtock-libc++-14.1.0.zip libtock-libc++-14.1.0.zip
Original file line number Diff line number Diff line change
1
+ # ##
2
+ # ## Dockerfile to build libtock-newlib-4.4.0.20231231
3
+ # ##
4
+
5
+ FROM debian:trixie
6
+
7
+ LABEL maintainer=
"Tock Project Developers <[email protected] >"
8
+ LABEL version="0.1"
9
+ LABEL description="Dockerfile to build libtock-c newlib 4.4.0.20231231."
10
+
11
+ # Disable Prompt During Packages Installation
12
+ ARG DEBIAN_FRONTEND=noninteractive
13
+ # Update Ubuntu Software repository
14
+ RUN apt update
15
+
16
+ # Install our toolchains
17
+ RUN apt install -y gcc-arm-none-eabi gcc-riscv64-unknown-elf
18
+
19
+ # Install needed tools
20
+ RUN apt install -y git build-essential wget rsync texinfo zip
21
+
22
+ # Clone the libtock-c source so we can use the build scripts
23
+ RUN git clone https://github.com/alistair23/libtock-c
24
+ RUN cd libtock-c && git fetch && git checkout 35f27e15df6a7672fae8cc4eb72350dcc42ef1bd
25
+
26
+ # Actually build the toolchain
27
+ RUN cd libtock-c/newlib && make NEWLIB_VERSION=4.4.0.20231231
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ docker build -t libtock-c-newlib-4.4.0.20231231 .
4
+ id=$( docker create libtock-c-newlib-4.4.0.20231231)
5
+ docker cp $id :/libtock-c/newlib/libtock-newlib-4.4.0.20231231.zip libtock-newlib-4.4.0.20231231.zip
You can’t perform that action at this time.
0 commit comments