mirror of
https://codeberg.org/JasterV/docker.git
synced 2026-04-26 18:10:02 +00:00
[rust] Publish 1.93
This commit is contained in:
parent
38bdb21bfa
commit
e2e0dfd035
2 changed files with 6 additions and 7 deletions
|
|
@ -8,7 +8,7 @@ steps:
|
|||
image: plugins/kaniko
|
||||
settings:
|
||||
repo: jasterv/rust-ci
|
||||
tags: latest
|
||||
tags: 1.93,latest
|
||||
username:
|
||||
from_secret: DOCKERHUB_USERNAME
|
||||
password:
|
||||
|
|
|
|||
|
|
@ -1,21 +1,20 @@
|
|||
FROM rust:1.93.1-slim-bookworm
|
||||
FROM rust:1.93.1-slim
|
||||
|
||||
# Install system dependencies for cargo-binstall and common rust crates
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
curl \
|
||||
libc6 \
|
||||
build-essential \
|
||||
ca-certificates \
|
||||
pkg-config \
|
||||
libssl-dev \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Pre-install rustup components
|
||||
RUN rustup component add clippy rustfmt
|
||||
RUN rustup set profile minimal && \
|
||||
rustup component add clippy rustfmt rust-src rust-analyzer
|
||||
|
||||
RUN rustup default 1.93.1-x86_64-unknown-linux-gnu
|
||||
|
||||
# Install cargo-binstall and your tools
|
||||
RUN curl -Lskj https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz | tar -xz -C /usr/local/bin
|
||||
RUN cargo binstall --no-confirm cargo-make cargo-deny cargo-nextest
|
||||
|
||||
# Set environment variables so they don't need to be in .woodpecker.yml
|
||||
ENV CARGO_TERM_COLOR=always
|
||||
|
|
|
|||
Loading…
Reference in a new issue