mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-16 21:00:14 +00:00
1. Add scripts to build Yocto image & toolchain 2. Update docker build scripts to support Onnxruntime build with ARM ACL 19.02/19.05
21 lines
783 B
Text
21 lines
783 B
Text
ARG OS_VERSION=16.04
|
|
FROM ubuntu:${OS_VERSION}
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends gawk wget git-core diffstat unzip vim \
|
|
texinfo gcc-multilib build-essential chrpath socat libsdl1.2-dev python3-dev sudo cpio file ca-certificates bc locales \
|
|
libsdl1.2-dev xterm sed cvs subversion coreutils texi2html docbook-utils python-pysqlite2 help2man gcc \
|
|
g++ make desktop-file-utils libgl1-mesa-dev libglu1-mesa-dev \
|
|
mercurial autoconf automake groff curl lzop asciidoc u-boot-tools
|
|
|
|
RUN locale-gen en_US.UTF-8
|
|
|
|
ENV LC_ALL=en_US.UTF-8
|
|
ENV LANG=en_US.UTF-8
|
|
|
|
ARG BUILD_UID=1000
|
|
ARG BUILD_USER=ubuntu
|
|
RUN adduser --gecos 'yocto build user' --disabled-password $BUILD_USER --uid $BUILD_UID && \
|
|
usermod -aG sudo ubuntu
|
|
|
|
USER $BUILD_USER
|
|
|