Skip to content

Commit

Permalink
fix: updating dockerfile to work with new toolchain (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshfried-aws committed May 6, 2024
1 parent d583ada commit ecf18fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
####################################################################################################
FROM rust:latest AS builder

RUN rustup target add x86_64-unknown-linux-musl
RUN apt update && apt install -y musl-tools musl-dev

WORKDIR /usr/src/cloudformation-guard

COPY . .

RUN rustup target add x86_64-unknown-linux-musl
RUN cargo build --target x86_64-unknown-linux-musl --release

####################################################################################################
Expand Down

0 comments on commit ecf18fc

Please sign in to comment.