mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-21 16:41:01 -05:00
Merge pull request #638 from scop/fix/docker-debian-sync
fix: Docker/Debian version sync
This commit is contained in:
commit
87d223682b
1 changed files with 4 additions and 2 deletions
|
@ -1,8 +1,10 @@
|
|||
FROM rust:1.65.0 as builder
|
||||
ARG DEBIAN_DIST=bullseye
|
||||
|
||||
FROM rust:${DEBIAN_DIST} as builder
|
||||
WORKDIR /usr/src/typos
|
||||
COPY . .
|
||||
RUN cargo install --path .
|
||||
|
||||
FROM debian:buster-slim
|
||||
FROM debian:${DEBIAN_DIST}-slim
|
||||
COPY --from=builder /usr/local/cargo/bin/typos /usr/local/bin/typos
|
||||
CMD ["typos"]
|
||||
|
|
Loading…
Reference in a new issue