Skip to content

Commit

Permalink
Add nasm to build step.
Browse files Browse the repository at this point in the history
  • Loading branch information
FireMasterK committed Jul 13, 2023
1 parent b66513c commit 5998cf2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 5998cf2

Please sign in to comment.