1
0
mirror of https://github.com/falk-werner/webfuse-example synced 2024-10-27 20:44:09 +00:00

Merge pull request #6 from falk-werner/update_webfused_0.4

updated webfused to 0.4.1
This commit is contained in:
Falk Werner 2020-07-05 12:57:44 +02:00 committed by GitHub
commit 2ebb58f125
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,13 @@ RUN set -x \
libconfig-dev \ libconfig-dev \
libpam0g-dev \ libpam0g-dev \
nginx \ nginx \
fcgiwrap fcgiwrap \
python3 \
python3-pip \
python3-setuptools \
python3-wheel \
&& pip3 install --system meson
ARG PARALLELMFLAGS=-j2 ARG PARALLELMFLAGS=-j2
@ -42,11 +48,10 @@ RUN set -x \
&& tar -xf socklog.tar.gz -C / \ && tar -xf socklog.tar.gz -C / \
&& rm -rf "$builddir" && rm -rf "$builddir"
ARG FUSE_VERSION=3.9.1 ARG FUSE_VERSION=3.9.2
RUN set -x \ RUN set -x \
&& builddeps="udev gettext python3 python3-pip python3-setuptools python3-wheel" \ && builddeps="udev gettext " \
&& apt install --yes --no-install-recommends $builddeps \ && apt install --yes --no-install-recommends $builddeps \
&& pip3 install --system meson \
&& builddir="/tmp/out" \ && builddir="/tmp/out" \
&& mkdir -p "$builddir" \ && mkdir -p "$builddir" \
&& cd "$builddir" \ && cd "$builddir" \
@ -58,11 +63,10 @@ RUN set -x \
&& meson .. \ && meson .. \
&& ninja \ && ninja \
&& ninja install \ && ninja install \
&& pip3 uninstall -y meson \
&& rm -rf "$builddir" \ && rm -rf "$builddir" \
&& apt purge -y $builddeps && apt purge -y $builddeps
ARG WEBSOCKETS_VERSION=3.2.0 ARG WEBSOCKETS_VERSION=4.0.13
RUN set -x \ RUN set -x \
&& apt install --yes --no-install-recommends \ && apt install --yes --no-install-recommends \
ca-certificates \ ca-certificates \
@ -96,7 +100,7 @@ RUN set -x \
ENV LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib" ENV LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
ARG WEBFUSE_VERSION=0.2.0 ARG WEBFUSE_VERSION=0.4.0
RUN set -x \ RUN set -x \
&& builddir="/tmp/out" \ && builddir="/tmp/out" \
&& mkdir -p "$builddir" \ && mkdir -p "$builddir" \
@ -104,13 +108,13 @@ RUN set -x \
&& wget "https://github.com/falk-werner/webfuse/archive/v${WEBFUSE_VERSION}.tar.gz" -O webfuse.tar.gz \ && wget "https://github.com/falk-werner/webfuse/archive/v${WEBFUSE_VERSION}.tar.gz" -O webfuse.tar.gz \
&& tar -xf webfuse.tar.gz \ && tar -xf webfuse.tar.gz \
&& cd "webfuse-$WEBFUSE_VERSION" \ && cd "webfuse-$WEBFUSE_VERSION" \
&& mkdir .build \ && meson -Dwithout_tests=true .build \
&& cd .build \ && cd .build \
&& cmake -DWITHOUT_TESTS=ON -DWITHOUT_EXAMPLE=ON ".." \ && ninja \
&& make "$PARALLELMFLAGS" install \ && ninja install \
&& rm -rf "$builddir" && rm -rf "$builddir"
ARG WEBFUSED_VERSION=0.2.0 ARG WEBFUSED_VERSION=0.4.1
RUN set -x \ RUN set -x \
&& builddir="/tmp/out" \ && builddir="/tmp/out" \
&& mkdir -p "$builddir" \ && mkdir -p "$builddir" \
@ -118,10 +122,10 @@ RUN set -x \
&& wget "https://github.com/falk-werner/webfused/archive/v${WEBFUSED_VERSION}.tar.gz" -O webfused.tar.gz \ && wget "https://github.com/falk-werner/webfused/archive/v${WEBFUSED_VERSION}.tar.gz" -O webfused.tar.gz \
&& tar -xf webfused.tar.gz \ && tar -xf webfused.tar.gz \
&& cd "webfused-$WEBFUSED_VERSION" \ && cd "webfused-$WEBFUSED_VERSION" \
&& mkdir .build \ && meson -Dwithout_tests=true build \
&& cd .build \ && cd build \
&& cmake -DWITHOUT_TESTS=ON ".." \ && ninja \
&& make "$PARALLELMFLAGS" install \ && ninja install \
&& rm -rf "$builddir" && rm -rf "$builddir"
ARG NPM_VERSION=">=6.14.0 <7.0.0" ARG NPM_VERSION=">=6.14.0 <7.0.0"