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

remove build dependencies during build (ubuntu)

This commit is contained in:
Falk Werner 2019-12-02 19:25:07 +01:00
parent f63d6f6b6e
commit cc22bb6756
2 changed files with 6 additions and 12 deletions

View File

@ -49,22 +49,19 @@ RUN set -x \
&& make "$PARALLELMFLAGS" install \
&& rm -rf "$builddir"
RUN set -x \
&& builddeps="udev python3 python3-pip python3-setuptools python3-wheel ninja-build" \
&& apt install --yes --no-install-recommends $builddeps \
&& pip3 install --system meson
ARG FUSE_VERSION=3.8.0
RUN set -x \
&& builddeps="libtool automake 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" \
&& meson "/usr/local/src/libfuse-fuse-$FUSE_VERSION" \
&& ninja \
&& ninja install \
&& pip3 uninstall -y meson \
&& rm -rf "$builddir" \
&& apt purge -y $builddeps

View File

@ -52,22 +52,19 @@ RUN set -x \
&& make "$PARALLELMFLAGS" install \
&& rm -rf "$builddir"
RUN set -x \
&& builddeps="udev python3 python3-pip python3-setuptools python3-wheel ninja-build" \
&& apt install --yes --no-install-recommends $builddeps \
&& pip3 install --system meson
ARG FUSE_VERSION=3.8.0
RUN set -x \
&& builddeps="libtool automake 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" \
&& meson "/usr/local/src/libfuse-fuse-$FUSE_VERSION" \
&& ninja \
&& ninja install \
&& pip3 uninstall -y meson \
&& rm -rf "$builddir" \
&& apt purge -y $builddeps