File tree Expand file tree Collapse file tree 4 files changed +36
-24
lines changed
Expand file tree Collapse file tree 4 files changed +36
-24
lines changed Original file line number Diff line number Diff line change 11FROM debian:11-slim
22
3- RUN apt update
3+ ARG workdir=/work
44
5- # install basic build tools
6- RUN apt -y install make git ccache rsync python3
5+ # install basic utilities
6+ RUN apt update && apt -y install git rsync python3
7+
8+ # git might complain about ownership, so ignore it
9+ RUN git config --global --add safe.directory $workdir
710
811# install aarch64 cross-compiler
912RUN apt -y install g++-aarch64-linux-gnu
1013
11- # git might complain about ownership, so ignore it
12- RUN git config --global --add safe.directory /work
14+ # install basic build tools
15+ RUN apt -y install make ccache
1316
14- WORKDIR /work
17+ WORKDIR $workdir
Original file line number Diff line number Diff line change 11FROM debian:10-slim
22
3- RUN apt update
3+ ARG workdir=/work
44
5- # install basic build tools
6- RUN apt -y install make git ccache rsync python3
5+ # install basic utilities
6+ RUN apt update && apt -y install git rsync python3
7+
8+ # git might complain about ownership, so ignore it
9+ RUN git config --global --add safe.directory $workdir
710
811# install armhf cross-compiler
912RUN apt -y install g++-arm-linux-gnueabihf
1013
11- # git might complain about ownership, so ignore it
12- RUN git config --global --add safe.directory /work
14+ # install basic build tools
15+ RUN apt -y install make ccache
1316
14- WORKDIR /work
17+ WORKDIR $workdir
Original file line number Diff line number Diff line change 11FROM debian:11-slim
22
3- RUN apt update
3+ ARG workdir=/work
44
5- # install basic build tools
6- RUN apt -y install make git ccache rsync python3
5+ # install basic utilities
6+ RUN apt update && apt -y install git rsync python3
7+
8+ # git might complain about ownership, so ignore it
9+ RUN git config --global --add safe.directory $workdir
710
811# install armhf cross-compiler
912RUN apt -y install g++-arm-linux-gnueabihf
1013
11- # git might complain about ownership, so ignore it
12- RUN git config --global --add safe.directory /work
14+ # install basic build tools
15+ RUN apt -y install make ccache
1316
14- WORKDIR /work
17+ WORKDIR $workdir
Original file line number Diff line number Diff line change 11FROM ubuntu:18.04
22
3- RUN apt update
3+ ARG workdir=/work
44
5- # install basic build tools
6- RUN apt -y install make git ccache rsync python3
5+ # install basic utilities
6+ RUN apt update && apt -y install git rsync python3
7+
8+ # git might complain about ownership, so ignore it
9+ RUN git config --global --add safe.directory $workdir
710
811# install armhf cross-compiler
912RUN apt -y install g++-arm-linux-gnueabihf
1013
11- # git might complain about ownership, so ignore it
12- RUN git config --global --add safe.directory /work
14+ # install basic build tools
15+ RUN apt -y install make ccache
1316
14- WORKDIR /work
17+ WORKDIR $workdir
You can’t perform that action at this time.
0 commit comments