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

Compare commits

..

No commits in common. "master" and "v0.1.0" have entirely different histories.

2 changed files with 22 additions and 27 deletions

View File

@ -20,17 +20,11 @@ RUN set -x \
libconfig-dev \
libpam0g-dev \
nginx \
fcgiwrap \
python3 \
python3-pip \
python3-setuptools \
python3-wheel \
&& pip3 install --system meson
fcgiwrap
ARG PARALLELMFLAGS=-j2
ARG S6OVERLAY_VERSION=2.1.0.0
ARG S6OVERLAY_VERSION=1.22.1.0
RUN set -x \
&& builddir="/tmp/out" \
&& mkdir -p "$builddir" \
@ -48,22 +42,27 @@ RUN set -x \
&& tar -xf socklog.tar.gz -C / \
&& rm -rf "$builddir"
ARG FUSE_VERSION=3.10.0
ARG FUSE_VERSION=3.9.1
RUN set -x \
&& builddeps="udev gettext " \
&& builddeps="udev gettext python3 python3-pip python3-setuptools python3-wheel" \
&& apt install --yes --no-install-recommends $builddeps \
&& pip3 install --system meson \
&& builddir="/tmp/out" \
&& mkdir -p "$builddir" \
&& cd "$builddir" \
&& wget "https://github.com/libfuse/libfuse/archive/fuse-${FUSE_VERSION}.tar.gz" -O libfuse.tar.gz \
&& tar -xf libfuse.tar.gz \
&& cd "libfuse-fuse-$FUSE_VERSION" \
&& meson -Dexamples=false .build \
&& meson install -C .build \
&& mkdir .build \
&& cd .build \
&& meson .. \
&& ninja \
&& ninja install \
&& pip3 uninstall -y meson \
&& rm -rf "$builddir" \
&& apt purge -y $builddeps
ARG WEBSOCKETS_VERSION=4.1.3
ARG WEBSOCKETS_VERSION=3.2.0
RUN set -x \
&& apt install --yes --no-install-recommends \
ca-certificates \
@ -81,7 +80,7 @@ RUN set -x \
&& make "$PARALLELMFLAGS" install \
&& rm -rf "$builddir"
ARG JANSSON_VERSION=2.13.1
ARG JANSSON_VERSION=2.12
RUN set -x \
&& builddir="/tmp/out" \
&& mkdir -p "$builddir" \
@ -97,7 +96,7 @@ RUN set -x \
ENV LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
ARG WEBFUSE_VERSION=0.5.1
ARG WEBFUSE_VERSION=0.2.0
RUN set -x \
&& builddir="/tmp/out" \
&& mkdir -p "$builddir" \
@ -105,13 +104,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" \
&& meson -Dwithout_tests=true .build \
&& mkdir .build \
&& cd .build \
&& ninja \
&& ninja install \
&& cmake -DWITHOUT_TESTS=ON -DWITHOUT_EXAMPLE=ON ".." \
&& make "$PARALLELMFLAGS" install \
&& rm -rf "$builddir"
ARG WEBFUSED_VERSION=0.5.0
ARG WEBFUSED_VERSION=0.2.0
RUN set -x \
&& builddir="/tmp/out" \
&& mkdir -p "$builddir" \
@ -119,10 +118,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" \
&& meson -Dwithout_tests=true build \
&& cd build \
&& ninja \
&& ninja install \
&& mkdir .build \
&& cd .build \
&& cmake -DWITHOUT_TESTS=ON ".." \
&& make "$PARALLELMFLAGS" install \
&& rm -rf "$builddir"
ARG NPM_VERSION=">=6.14.0 <7.0.0"

View File

@ -3,10 +3,6 @@
# webfuse-example
Example of webfuse.
**Note:** This repository refers to [webfuse-legacy](https://github.com/falk-werner/webfuse/tree/webfuse-legacy).
Since `webfuse-legacy` is out-dated, the repository is archived and will be removed in future.
_Please leave an issue if you are still interested in this code._
## Build
docker build --rm --build-arg "USERID=`id -u`" --tag webfuse .