mirror of
https://github.com/TeamPiped/piped-proxy.git
synced 2024-12-06 19:16:48 +01:00
Add nasm to build step.
This commit is contained in:
@@ -4,6 +4,12 @@ WORKDIR /app/
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN --mount=type=chache,target=/var/cache/apt \
|
||||
apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
nasm && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
||||
--mount=type=cache,target=/app/target/ \
|
||||
cargo build --release && \
|
||||
|
||||
Reference in New Issue
Block a user