Skip to content

Commit

Permalink
remove build
Browse files Browse the repository at this point in the history
  • Loading branch information
0xStuart committed Feb 6, 2024
1 parent 38ef4f3 commit e3a9474
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,17 @@
FROM ubuntu:22.04

ARG BOARD=milkv-duo256m
ENV BOARD=${BOARD}

ENV SDK_URL="https://github.com/milkv-duo/duo-buildroot-sdk.git"
ENV TOOLCHAIN_FILE=/CMakeToolchain.txt
ENV DEBIAN_FRONTEND=non-interactive
ENV BUILD_OUTPUT=/build-output

RUN apt-get update
RUN apt install -y pkg-config build-essential ninja-build \
automake autoconf libtool wget curl git gcc libssl-dev \
bc slib squashfs-tools android-sdk-libsparse-utils jq \
python3-distutils scons parallel tree python3-dev python3-pip \
device-tree-compiler ssh cpio fakeroot libncurses5 flex bison \
libncurses5-dev genext2fs rsync unzip dosfstools mtools tcl \
openssh-client make cmake expect
RUN apt-get update \
&& apt-get install -y \
wget git make build-essential libtool \
cmake pkg-config

WORKDIR /
RUN git clone https://github.com/milkv-duo/duo-buildroot-sdk.git --depth=1
Expand All @@ -25,7 +22,6 @@ RUN cat kernel.conf >> /duo-buildroot-sdk/build/boards/cv180x/cv1800b_milkv_duo_
RUN cat kernel.conf >> /duo-buildroot-sdk/build/boards/cv181x/cv1812cp_milkv_duo256m_sd/linux/cvitek_cv1812cp_milkv_duo256m_sd_defconfig

WORKDIR duo-buildroot-sdk
RUN ./build.sh $BOARD

#Make a libs output directory for our builds
RUN mkdir -p $BUILD_OUTPUT/bin
Expand Down

0 comments on commit e3a9474

Please sign in to comment.