Compare commits

..

2 commits

Author SHA1 Message Date
6bbc89490a build: pin versions for docker base images
All checks were successful
Rust / build (push) Successful in 1m21s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-07-05 07:54:43 +01:00
cbf6c3b73c chore: lint fix for Dockerfile
All checks were successful
Rust / build (push) Successful in 1m6s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
>  2 warnings found (use --debug to expand):
> - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 6)
> - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line
11)
2024-07-05 07:46:45 +01:00
2 changed files with 4 additions and 4 deletions

View file

@ -1,14 +1,14 @@
# Leveraging the pre-built Docker images with # Leveraging the pre-built Docker images with
# cargo-chef and the Rust toolchain # cargo-chef and the Rust toolchain
FROM git.kemitix.net/kemitix/git-next-builder:latest AS chef FROM git.kemitix.net/kemitix/git-next-builder:2024.07.05 AS chef
WORKDIR /app WORKDIR /app
FROM chef as planner FROM chef AS planner
COPY Cargo.toml ./ COPY Cargo.toml ./
COPY crates crates COPY crates crates
RUN cargo chef prepare --recipe-path recipe.json RUN cargo chef prepare --recipe-path recipe.json
FROM chef as builder FROM chef AS builder
COPY --from=planner /app/recipe.json recipe.json COPY --from=planner /app/recipe.json recipe.json
RUN cargo chef cook --profile release --recipe-path recipe.json RUN cargo chef cook --profile release --recipe-path recipe.json
COPY . . COPY . .

View file

@ -1,4 +1,4 @@
FROM docker.io/rust:latest FROM docker.io/rust:1.79.0-bookworm
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y clang-16 mold && \ apt-get install -y clang-16 mold && \