add astra 1.8
This commit is contained in:
20
docker/astra1.8-shstk/Dockerfile
Normal file
20
docker/astra1.8-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
|
||||
Reference in New Issue
Block a user