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
type: kubernetes
name: default
concurrency:
limit: 1
metadata:
namespace: git
steps:
- name: build
image: docker

View File

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