We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9c5cdc commit e2a4815Copy full SHA for e2a4815
Dockerfile
@@ -0,0 +1,13 @@
1
+FROM docker.io/library/rust:1.78.0-bookworm AS builder
2
+
3
+WORKDIR /usr/local/src
4
5
+COPY . .
6
7
+RUN cargo build --release
8
9
+FROM gcr.io/distroless/cc-debian12:nonroot
10
11
+COPY --from=builder /usr/local/src/target/release/imdl /usr/local/bin/imdl
12
13
+ENTRYPOINT ["/usr/local/bin/imdl"]
justfile
@@ -134,3 +134,7 @@ get-torrents:
134
# download bittorrent.org repository
135
get-beps:
136
git clone [email protected]:bittorrent/bittorrent.org.git tmp/bittorrent.org
137
138
+build-image:
139
+ podman build -t imdl .
140
+ podman run imdl
0 commit comments