-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
20 lines (17 loc) · 913 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# syntax=docker/dockerfile:experimental
FROM centos:centos7
# ADD scripts /build
RUN --mount=type=bind,target=/build,source=scripts,ro \
/build/build.sh
# Environment Configuration
ENV CC=/opt/rh/devtoolset-12/root/usr/bin/gcc \
CPP=/opt/rh/devtoolset-12/root/usr/bin/cpp \
CXX=/opt/rh/devtoolset-12/root/usr/bin/g++ \
PATH=/opt/rh/devtoolset-12/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
LD_LIBRARY_PATH=/opt/rh/devtoolset-12/root/usr/lib64:/opt/rh/devtoolset-12/root/usr/lib:/opt/rh/devtoolset-12/root/usr/lib64/dyninst:/opt/rh/devtoolset-12/root/usr/lib/dyninst \
MANPATH=/opt/rh/devtoolset-12/root/usr/share/man \
PKG_CONFIG_PATH=/opt/rh/devtoolset-12/root/usr/lib64/pkgconfig \
INFOPATH=/opt/rh/devtoolset-12/root/usr/share/info \
X_SCLS=devtoolset-12 \
PCP_DIR=/opt/rh/devtoolset-12/root
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]