pip, add ondemand flag
This commit is contained in:
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@@ -34,8 +34,11 @@ node {
|
||||
|
||||
def _msg = "Built images:"
|
||||
pl.forEach ({ dist ->
|
||||
_msg += build_docker(dist, rel_dir)
|
||||
}, stageSuffix: "-shstk")
|
||||
_msg += build_docker(dist, rel_dir)
|
||||
},
|
||||
stageSuffix: "-shstk",
|
||||
ondemand: true
|
||||
)
|
||||
|
||||
stage("Clean") {
|
||||
sh "docker system prune -f"
|
||||
|
||||
20
docker/astra1.7-shstk/Dockerfile
Normal file
20
docker/astra1.7-shstk/Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
ARG DOCKER_PREFIX=wapmobil/
|
||||
ARG IMAGE_FROM
|
||||
FROM ${DOCKER_PREFIX}${IMAGE_FROM}
|
||||
|
||||
ARG LIBS_BUILD_NUMBER=9999
|
||||
ARG JOBS_COUNT=4
|
||||
ARG support_gl=1
|
||||
ENV PATH=/opt/cmake/bin:$PATH
|
||||
|
||||
WORKDIR /soft
|
||||
RUN git clone -b release --single-branch --depth 1 --recursive https://git.shstk.ru/SHS/shstk.git
|
||||
|
||||
WORKDIR /soft/shstk_build_linux
|
||||
RUN cmake -G Ninja -DICU=0 -DLOCAL=0 -DQGLENGINE=${support_gl} -DQGLVIEW=${support_gl} -DHAS_GL=${support_gl} -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
||||
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||
&& ldconfig \
|
||||
&& cmake --build ./ --target deploy -j${JOBS_COUNT} \
|
||||
&& rm -rf *
|
||||
|
||||
WORKDIR /soft/src
|
||||
2
pip
2
pip
Submodule pip updated: 7eae1e127c...af4b718053
Reference in New Issue
Block a user