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

feat(webfuse): eclipse cdt project (#17)

adds convenience run and discovery targets (for first build target)
allows usage of host container (volume mount/ dind)
fixes portable workspace configuration
adds makefile targets to CDT configuration
fixes localization

* adds eclipse-cdt project and necessary discovery for toolchain settings

* extends targets and fixes discovery

* renames CDT Eclipse project

* enables portable workspace docker-build on build server
This commit is contained in:
nosamad
2019-03-28 07:43:21 +01:00
committed by Falk Werner
parent 66a585ecf1
commit 0ac03b6150
11 changed files with 404 additions and 66 deletions

View File

@@ -12,6 +12,7 @@ RUN set -x \
cmake \
ninja-build \
pkg-config \
rsync \
&& rm -rf /var/lib/apt/lists/*
COPY src /usr/local/src
@@ -71,12 +72,13 @@ ENV LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
ARG USERID=1000
ARG WORKSPACE=/workspace
ARG PROJECT_ROOT=/workspace/src
ARG OUT=/workspace/out
RUN set -x \
&& useradd -u "$USERID" -ms /bin/bash user \
&& mkdir -p "$WORKSPACE" \
&& chown user:user "$WORKSPACE"
&& mkdir -p "$PROJECT_ROOT" "$OUT" \
&& chown user:user "$PROJECT_ROOT" "$OUT"
WORKDIR "$WORKSPACE"
WORKDIR "$OUT"