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

Compare commits

...

5 Commits

Author SHA1 Message Date
Falk Werner
16d4c39a21 add end-of-life notification 2023-02-11 09:53:09 +01:00
Falk Werner
c311aebfde chore: updated packages (s6overlay: 2.1.0.0, libfuse: 3.10.0, libwebsockets: 4.1.3, jansson: 2.13.1, webfuse: 0.5.1) 2020-10-18 10:55:37 +02:00
Falk Werner
b64718a867 updated webfuse to 0.5.0; updated webfused to 0.5.0 2020-07-19 13:08:42 +02:00
Falk Werner
2ebb58f125
Merge pull request #6 from falk-werner/update_webfused_0.4
updated webfused to 0.4.1
2020-07-05 12:57:44 +02:00
Falk Werner
bf230c8c61 updated webfused to 0.4.1 2020-07-05 12:35:58 +02:00
2 changed files with 27 additions and 22 deletions

View File

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

View File

@ -3,6 +3,10 @@
# 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 .