|
|
|
@ -10,7 +10,7 @@ ENV ARTIFACT_DIR=/dist
|
|
|
|
|
|
|
|
|
|
# Prepare CentOS build environment
|
|
|
|
|
RUN yum update -y \
|
|
|
|
|
&& yum install -y @buildsys-build rpmdevtools yum-plugins-core libcurl-devel fontconfig-devel freetype-devel openssl-devel glibc-devel libicu-devel \
|
|
|
|
|
&& yum install -y @buildsys-build rpmdevtools yum-plugins-core libcurl-devel fontconfig-devel freetype-devel openssl-devel glibc-devel libicu-devel nodejs \
|
|
|
|
|
&& rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm \
|
|
|
|
|
&& rpmdev-setuptree \
|
|
|
|
|
&& yum install -y dotnet-sdk-${SDK_VERSION} \
|
|
|
|
@ -20,6 +20,10 @@ RUN yum update -y \
|
|
|
|
|
&& mkdir -p ${SOURCE_DIR}/SOURCES \
|
|
|
|
|
&& ln -s ${PLATFORM_DIR}/pkg-src ${SOURCE_DIR}/SOURCES
|
|
|
|
|
|
|
|
|
|
# Install yarn package manager
|
|
|
|
|
RUN wget -q -O- https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo \
|
|
|
|
|
&& yum install -y yarn
|
|
|
|
|
|
|
|
|
|
VOLUME ${ARTIFACT_DIR}/
|
|
|
|
|
|
|
|
|
|
COPY . ${SOURCE_DIR}/
|
|
|
|
|