xgboost/tests/ci_build/Dockerfile.jvm_manylinux2014_aarch64

18 lines
544 B
Docker

FROM quay.io/pypa/manylinux2014_aarch64
RUN yum update -y && yum install -y java-1.8.0-openjdk-devel
# Install lightweight sudo (not bound to TTY)
ENV GOSU_VERSION 1.10
RUN set -ex; \
curl -o /usr/local/bin/gosu -L "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-arm64" && \
chmod +x /usr/local/bin/gosu && \
gosu nobody true
# Default entry-point to use if running locally
# It will preserve attributes of created files
COPY entrypoint.sh /scripts/
WORKDIR /workspace
ENTRYPOINT ["/scripts/entrypoint.sh"]