diff --git a/.drone.yml b/.drone.yml index e2331b3..ae72037 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,5 +18,5 @@ steps: - dockerd & - docker login -u kieran -p $TOKEN git.v0l.io - docker login -u voidic -p $TOKEN_DOCKER - - docker buildx build --push -t git.v0l.io/kieran/route96:latest -t voidic/route96:latest . + - docker buildx build --push -t git.v0l.io/kieran/route96:latest -t voidic/route96:latest --build-arg FEATURES="labels" . - kill $(cat /var/run/docker.pid) \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 0e8c3d3..5cd3449 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ ARG IMAGE=rust:bookworm +ARG FEATURES=labels FROM $IMAGE as build WORKDIR /app/src @@ -31,7 +32,7 @@ RUN git clone --depth=1 https://git.v0l.io/Kieran/FFmpeg.git && \ --disable-static \ --enable-shared && \ make -j8 && make install -RUN cargo install --path . --root /app/build +RUN cargo install --path . --root /app/build --features "${FEATURES}" FROM node:bookworm as ui_builder WORKDIR /app/src