1
0
mirror of https://github.com/falk-werner/webfuse-example synced 2025-12-17 20:01:50 +00:00

updated to webfused 0.2.0

This commit is contained in:
Falk Werner
2020-03-20 17:47:18 +01:00
parent e3344ba461
commit dcd8eddeb2
3 changed files with 35 additions and 5 deletions

View File

@@ -15,7 +15,9 @@ RUN set -x \
openssl \
libssl-dev \
uuid-dev \
wget
wget \
libconfig-dev \
libpam0g-dev
COPY www /var/www
@@ -106,7 +108,7 @@ RUN set -x \
&& make "$PARALLELMFLAGS" install \
&& rm -rf "$builddir"
ARG WEBFUSED_VERSION=0.1.0
ARG WEBFUSED_VERSION=0.2.0
RUN set -x \
&& builddir="/tmp/out" \
&& mkdir -p "$builddir" \
@@ -116,10 +118,16 @@ RUN set -x \
&& cd "webfused-$WEBFUSED_VERSION" \
&& mkdir .build \
&& cd .build \
&& cmake ".." \
&& cmake -DWITHOUT_TESTS=ON ".." \
&& make "$PARALLELMFLAGS" install \
&& rm -rf "$builddir"
COPY webfused.conf /etc
ARG USERID=1000
RUN set -x \
&& useradd -u "$USERID" -ms /bin/bash user
EXPOSE 8080
ENTRYPOINT ["dumb-init", "--"]