mirror of
https://github.com/KumoCorp/kumomta.git
synced 2026-08-18 16:01:07 +00:00
aa22e788c9
This makes it easier to run in woodpecker
13 lines
448 B
Docker
13 lines
448 B
Docker
FROM rust:latest AS rust
|
|
|
|
WORKDIR /toml2jsonc
|
|
COPY crates/toml2jsonc .
|
|
RUN rustup target add x86_64-unknown-linux-musl
|
|
RUN cargo build --target x86_64-unknown-linux-musl
|
|
|
|
FROM docker.io/squidfunk/mkdocs-material
|
|
RUN pip install mkdocs-macros-plugin mkdocs-include-markdown-plugin mkdocs-exclude mkdocs-git-revision-date-localized-plugin
|
|
COPY --from=rust /toml2jsonc/target/x86_64-unknown-linux-musl/debug/toml2jsonc /util/toml2jsonc
|
|
|
|
CMD ["build"]
|