We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 876a396 commit 3497267Copy full SHA for 3497267
.github/workflows/rust.yml
@@ -12,6 +12,7 @@ jobs:
12
13
steps:
14
- uses: actions/checkout@v4
15
+ - run: sudo apt install libpcap-dev
16
- name: Build
17
run: cargo build --verbose
18
- name: Run tests
Dockerfile
@@ -0,0 +1,22 @@
1
+FROM rust:latest AS builder
2
+
3
+RUN apt-get update \
4
+ && apt-get install -y libpcap-dev \
5
+ && rm -rf /var/lib/apt/lists/*
6
7
+WORKDIR /app
8
9
+COPY . .
10
11
+RUN cargo install --path .
+FROM debian:stable-slim
+ && apt-get install -y libpcap-dev openssl \
19
+COPY --from=builder /usr/local/cargo/bin/osiris /app/osiris
20
21
+ENTRYPOINT [ "/app/osiris" ]
22
+CMD [ "--help" ]
0 commit comments