mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-16 21:00:14 +00:00
15 lines
390 B
Docker
15 lines
390 B
Docker
FROM ubuntu:16.04
|
|
|
|
ADD install.sh /tmp/install.sh
|
|
ENV PATH="/opt/cmake/bin:${PATH}"
|
|
RUN /tmp/install.sh && rm /tmp/install.sh
|
|
|
|
WORKDIR /root
|
|
|
|
ENV LD_LIBRARY_PATH /usr/local/openblas/lib:$LD_LIBRARY_PATH
|
|
|
|
ARG BUILD_UID=1000
|
|
ARG BUILD_USER=onnxruntimedev
|
|
RUN adduser --gecos 'ONNXRuntime Build User' --disabled-password $BUILD_USER --uid $BUILD_UID
|
|
USER $BUILD_USER
|
|
WORKDIR /home/$BUILD_USER
|