Skip to content

Commit

Permalink
fix(Dockerfile): Update image to 1.79 rust and build from /swap direc…
Browse files Browse the repository at this point in the history
…tory
  • Loading branch information
binarybaron committed Sep 9, 2024
1 parent 0a122d5 commit 0847ac3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM rust:1.59-slim AS builder
# This Dockerfile builds the asb binary

FROM rust:1.79-slim AS builder

WORKDIR /build

Expand All @@ -7,6 +9,8 @@ RUN apt-get install -y git clang cmake libsnappy-dev

COPY . .

WORKDIR /build/swap

RUN cargo build --release --bin=asb

FROM debian:bullseye-slim
Expand Down

0 comments on commit 0847ac3

Please sign in to comment.