[CI] Use manylinux2010_x86_64 container to vendor libgomp (#6485)

This commit is contained in:
Philip Hyunsu Cho
2020-12-10 07:37:15 -08:00
committed by GitHub
parent 0ffaf0f5be
commit b8044e6136
2 changed files with 17 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
FROM quay.io/pypa/manylinux2010_x86_64
# 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-amd64" && \
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"]