mirror of
https://github.com/falk-werner/webfuse-example
synced 2024-10-27 20:44:09 +00:00
updated webfused to 0.4.1
This commit is contained in:
parent
22bac55d46
commit
bf230c8c61
34
Dockerfile
34
Dockerfile
@ -20,7 +20,13 @@ RUN set -x \
|
||||
libconfig-dev \
|
||||
libpam0g-dev \
|
||||
nginx \
|
||||
fcgiwrap
|
||||
fcgiwrap \
|
||||
python3 \
|
||||
python3-pip \
|
||||
python3-setuptools \
|
||||
python3-wheel \
|
||||
&& pip3 install --system meson
|
||||
|
||||
|
||||
ARG PARALLELMFLAGS=-j2
|
||||
|
||||
@ -42,11 +48,10 @@ RUN set -x \
|
||||
&& tar -xf socklog.tar.gz -C / \
|
||||
&& rm -rf "$builddir"
|
||||
|
||||
ARG FUSE_VERSION=3.9.1
|
||||
ARG FUSE_VERSION=3.9.2
|
||||
RUN set -x \
|
||||
&& builddeps="udev gettext python3 python3-pip python3-setuptools python3-wheel" \
|
||||
&& builddeps="udev gettext " \
|
||||
&& apt install --yes --no-install-recommends $builddeps \
|
||||
&& pip3 install --system meson \
|
||||
&& builddir="/tmp/out" \
|
||||
&& mkdir -p "$builddir" \
|
||||
&& cd "$builddir" \
|
||||
@ -58,11 +63,10 @@ RUN set -x \
|
||||
&& meson .. \
|
||||
&& ninja \
|
||||
&& ninja install \
|
||||
&& pip3 uninstall -y meson \
|
||||
&& rm -rf "$builddir" \
|
||||
&& apt purge -y $builddeps
|
||||
|
||||
ARG WEBSOCKETS_VERSION=3.2.0
|
||||
ARG WEBSOCKETS_VERSION=4.0.13
|
||||
RUN set -x \
|
||||
&& apt install --yes --no-install-recommends \
|
||||
ca-certificates \
|
||||
@ -96,7 +100,7 @@ RUN set -x \
|
||||
|
||||
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 \
|
||||
&& builddir="/tmp/out" \
|
||||
&& 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 \
|
||||
&& tar -xf webfuse.tar.gz \
|
||||
&& cd "webfuse-$WEBFUSE_VERSION" \
|
||||
&& mkdir .build \
|
||||
&& meson -Dwithout_tests=true .build \
|
||||
&& cd .build \
|
||||
&& cmake -DWITHOUT_TESTS=ON -DWITHOUT_EXAMPLE=ON ".." \
|
||||
&& make "$PARALLELMFLAGS" install \
|
||||
&& ninja \
|
||||
&& ninja install \
|
||||
&& rm -rf "$builddir"
|
||||
|
||||
ARG WEBFUSED_VERSION=0.2.0
|
||||
ARG WEBFUSED_VERSION=0.4.1
|
||||
RUN set -x \
|
||||
&& builddir="/tmp/out" \
|
||||
&& 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 \
|
||||
&& tar -xf webfused.tar.gz \
|
||||
&& cd "webfused-$WEBFUSED_VERSION" \
|
||||
&& mkdir .build \
|
||||
&& cd .build \
|
||||
&& cmake -DWITHOUT_TESTS=ON ".." \
|
||||
&& make "$PARALLELMFLAGS" install \
|
||||
&& meson -Dwithout_tests=true build \
|
||||
&& cd build \
|
||||
&& ninja \
|
||||
&& ninja install \
|
||||
&& rm -rf "$builddir"
|
||||
|
||||
ARG NPM_VERSION=">=6.14.0 <7.0.0"
|
||||
|
Loading…
Reference in New Issue
Block a user