onnxruntime/tools/ci_build/github/linux/docker/Dockerfile.manylinux1
2019-11-22 13:48:37 -08:00

11 lines
351 B
Text

FROM quay.io/pypa/manylinux1_x86_64:latest
ARG PYTHON_VERSION
ADD scripts /tmp/scripts
RUN cd /tmp/scripts && /tmp/scripts/install_centos.sh && /tmp/scripts/install_deps.sh -p $PYTHON_VERSION && rm -rf /tmp/scripts
ARG BUILD_UID=1000
ARG BUILD_USER=onnxruntimedev
RUN adduser --uid $BUILD_UID $BUILD_USER
WORKDIR /home/$BUILD_USER
USER $BUILD_USER