feat: with updated docker file and friends

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-07-27 15:04:46 +02:00
parent 33e1ff0e37
commit 68b46e4bec
9 changed files with 147 additions and 37 deletions

View File

@@ -1,4 +1,4 @@
FROM rust:1.70-slim-bullseye as base
FROM rustlang/rust:nightly as base
RUN rustup target add x86_64-unknown-linux-musl
@@ -20,5 +20,9 @@ RUN cargo install --target x86_64-unknown-linux-musl --path cuddle_cli
FROM docker:dind
RUN apk add bash git
COPY --from=1password/op:2 /usr/local/bin/op /usr/local/bin/op
COPY --from=base /usr/local/cargo/bin/ /usr/local/cargo/bin/
ENV PATH="${PATH}:/usr/local/cargo/bin"