1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2026-03-02 04:09:18 +00:00

Squashed 'build/dobuild/' content from commit b017db7

git-subtree-dir: build/dobuild
git-subtree-split: b017db7c22e7c0ca6cee3f0f5ac1dd50f3b68eb9
This commit is contained in:
nosamad
2020-05-25 23:24:23 +02:00
commit b19a54d2f9
95 changed files with 7843 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
ARG REGISTRY_PREFIX=''
ARG BUILDER_TAG=0.0.1
ARG USERID=1000
ARG PARALLELMFLAGS=-j2
ARG HOSTMARCH=x86_64
ARG MARCH=$HOSTMARCH
ARG DISTRIB_ID=ubuntu
ARG DISTRIB_VERSION=bionic
ARG SYS=linux
ARG ABI=gnu
FROM ${REGISTRY_PREFIX}${HOSTMARCH}/${MARCH}/${DISTRIB_ID}/${DISTRIB_VERSION}/${SYS}/${ABI}/cmake/builder-template:${BUILDER_TAG}
COPY src /usr/local/src
ARG PARALLELMFLAGS=-j2
ARG GTEST_VERSION=1.8.1
ARG GTEST_MTIME=
RUN set -x \
&& [ -n "$GTEST_MTIME" ] && export SOURCE_DATE_EPOCH="$GTEST_MTIME" \
&& builddir="/tmp/out" \
&& mkdir -p "$builddir" \
&& cd "$builddir" \
&& cmake "/usr/local/src/googletest-release-$GTEST_VERSION" \
&& make "$PARALLELMFLAGS" install \
&& rm -rf "$builddir"