mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-12 14:09:25 +02:00
Add full image
Add full image Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
28
common/common.buildroot
Normal file
28
common/common.buildroot
Normal file
@ -0,0 +1,28 @@
|
||||
|
||||
# Install Debian packages required for `buildroot`.
|
||||
RUN apt-get update --yes && apt-get install --no-install-recommends --yes \
|
||||
gawk \
|
||||
gperf \
|
||||
help2man \
|
||||
python3-dev \
|
||||
texinfo \
|
||||
unzip \
|
||||
libtool \
|
||||
libtool-bin \
|
||||
&& apt-get clean autoclean --yes \
|
||||
&& apt-get autoremove --yes \
|
||||
&& rm -rf /var/lib/{apt,dpkg,cache,log}/
|
||||
|
||||
COPY \
|
||||
imagefiles/install-buildroot-toolchain.sh \
|
||||
buildroot.config \
|
||||
/dockcross/
|
||||
|
||||
# Build and install the toolchain, cleaning up artifacts afterwards.
|
||||
RUN mkdir /dockcross/buildroot \
|
||||
&& cd /dockcross/buildroot \
|
||||
&& /dockcross/install-buildroot-toolchain.sh \
|
||||
&& rm -rf /dockcross/buildroot /dockcross/install-buildroot-toolchain.sh
|
||||
|
||||
# Restore our default workdir (from "dockcross/base").
|
||||
WORKDIR /work
|
Reference in New Issue
Block a user