chore: dockerfile warnings

This commit is contained in:
kieran 2024-11-13 19:58:36 +00:00
parent 7734ae9c84
commit d7945b4d84
No known key found for this signature in database
GPG Key ID: DE71CEB3925BE941
2 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,10 @@
kind: pipeline kind: pipeline
type: kubernetes type: kubernetes
name: default name: default
concurrency:
limit: 1
metadata: metadata:
namespace: git namespace: git
steps: steps:
- name: build - name: build
image: docker image: docker

View File

@ -1,6 +1,6 @@
ARG IMAGE=rust:bookworm ARG IMAGE=rust:bookworm
FROM $IMAGE as build FROM $IMAGE AS build
WORKDIR /app/src WORKDIR /app/src
ENV FFMPEG_DIR=/app/ffmpeg ENV FFMPEG_DIR=/app/ffmpeg
COPY . . COPY . .
@ -27,7 +27,7 @@ RUN git clone --depth=1 https://git.ffmpeg.org/ffmpeg.git && \
make -j$(nproc) && make install make -j$(nproc) && make install
RUN cargo install --path . --bin zap-stream-core --root /app/build RUN cargo install --path . --bin zap-stream-core --root /app/build
FROM $IMAGE as runner FROM $IMAGE AS runner
WORKDIR /app WORKDIR /app
RUN apt update && \ RUN apt update && \
apt install -y libx264-164 && \ apt install -y libx264-164 && \