spacex / dev.Dockerfile
dependabot[bot]
build(deps): bump rust from 1.75.0-alpine3.18 to 1.76.0-alpine3.18 (#539)
8d9b660 unverified
raw
history blame contribute delete
No virus
378 Bytes
# Create Builder image
FROM --platform=$BUILDPLATFORM rust:1.76.0-alpine3.18
# Install required dependencies
RUN apk add --no-cache alpine-sdk musl-dev g++ make libcrypto3 libressl-dev perl build-base
RUN cargo install cargo-watch --locked
# Create project directory
RUN mkdir -p /project
WORKDIR /project
ENV RUSTFLAGS="-C target-feature=-crt-static"
ENTRYPOINT ["cargo"]