mirror of
https://github.com/falk-werner/webfuse-provider
synced 2026-03-02 04:09:18 +00:00
remove build dependencies during build (alpine)
This commit is contained in:
@@ -50,16 +50,12 @@ RUN set -x \
|
||||
&& make "$PARALLELMFLAGS" install \
|
||||
&& rm -rf "$builddir"
|
||||
|
||||
RUN set -x \
|
||||
&& builddeps="linux-headers udev eudev-dev python3 py3-pip py3-setuptools py3-cryptography ninja" \
|
||||
&& apk add --no-cache --virtual .build-deps $builddeps \
|
||||
&& pip3 install meson
|
||||
|
||||
ARG FUSE_VERSION=3.8.0
|
||||
|
||||
RUN set -x \
|
||||
&& builddeps="libtool automake autoconf gettext-dev m4" \
|
||||
&& builddeps="linux-headers eudev-dev python3 py3-pip py3-setuptools py3-cryptography" \
|
||||
&& apk add --no-cache --virtual .build-deps $builddeps \
|
||||
&& pip3 install meson \
|
||||
&& builddir="/tmp/out" \
|
||||
&& mkdir -p "$builddir" \
|
||||
&& cd "$builddir" \
|
||||
@@ -67,6 +63,7 @@ RUN set -x \
|
||||
&& meson configure -Dexamples=false \
|
||||
&& ninja \
|
||||
&& ninja install \
|
||||
&& pip3 uninstall -y meson \
|
||||
&& rm -rf "$builddir" \
|
||||
&& apk del .build-deps
|
||||
|
||||
|
||||
Reference in New Issue
Block a user