mirror of
https://github.com/TeamPiped/piped-proxy.git
synced 2024-08-14 23:50:45 +00:00
Add nasm to build step.
This commit is contained in:
parent
b66513c7d9
commit
5998cf2a5e
1 changed files with 6 additions and 0 deletions
|
@ -4,6 +4,12 @@ WORKDIR /app/
|
||||||
|
|
||||||
COPY . .
|
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 \
|
RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
||||||
--mount=type=cache,target=/app/target/ \
|
--mount=type=cache,target=/app/target/ \
|
||||||
cargo build --release && \
|
cargo build --release && \
|
||||||
|
|
Loading…
Reference in a new issue