Compare commits
No commits in common. "d6b3f93d7270f5d0f0e46c4365525b7d3bb9edc7" and "3aeac81cf44aac3f4e98ce116d9751e0212da370" have entirely different histories.
d6b3f93d72
...
3aeac81cf4
15
README.md
15
README.md
@ -9,7 +9,6 @@ Collection of Dockerfiles created to build & pack various tools.
|
||||
- [1. How to use](#1-how-to-use)
|
||||
- [1.1. CLI](#11-cli)
|
||||
- [2. Tools](#2-tools)
|
||||
- [2.1. Bandwhich](#21-bandwhich)
|
||||
<!-- /TOC -->
|
||||
|
||||
<br>
|
||||
@ -44,16 +43,4 @@ Variable | Description | Default
|
||||
|
||||
# 2. Tools
|
||||
|
||||
## 2.1. Bandwhich
|
||||
|
||||
### 2.1.1. Source
|
||||
>This is a CLI utility for displaying current network utilization by process, connection and remote IP/hostname
|
||||
|
||||
https://github.com/imsnif/bandwhich
|
||||
|
||||
<br>
|
||||
|
||||
### 2.1.2. Example
|
||||
```
|
||||
docker run -it --net host bandwhich -i eth0
|
||||
```
|
||||
Nothing yet
|
||||
|
@ -1,22 +0,0 @@
|
||||
# ---- Base ----
|
||||
FROM alpine:3 AS base
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
# ---- Build ----
|
||||
FROM rust:1.65.0-slim AS build
|
||||
WORKDIR /build
|
||||
# Install packages
|
||||
RUN apk add --no-cache make libc-dev build-base
|
||||
# Copy sources
|
||||
ADD .build/repository/ .
|
||||
# Update dependencies and Compile
|
||||
RUN cargo update && TARGET="release" make
|
||||
|
||||
|
||||
# ---- Release ----
|
||||
FROM base AS release
|
||||
# Copy build-target
|
||||
COPY --from=build /build/target/release/bandwhich .
|
||||
|
||||
ENTRYPOINT ["./bandwhich"]
|
@ -1 +0,0 @@
|
||||
GIT_REPOSITORY=https://github.com/imsnif/bandwhich
|
Loading…
x
Reference in New Issue
Block a user