Compare commits
No commits in common. "7e2a97bf0d643e2deb125b2baf4ffa657175a2c0" and "471d42618d59184c51cf9e7fadf340be50d210d5" have entirely different histories.
7e2a97bf0d
...
471d42618d
10
README.md
10
README.md
@ -16,14 +16,6 @@ Collection of Dockerfiles created to build & pack various tools.
|
|||||||
|
|
||||||
## 1.1. Bandwhich
|
## 1.1. Bandwhich
|
||||||
|
|
||||||
### 1.1.1. Source
|
|
||||||
>This is a CLI utility for displaying current network utilization by process, connection and remote IP/hostname
|
>This is a CLI utility for displaying current network utilization by process, connection and remote IP/hostname
|
||||||
|
|
||||||
https://github.com/imsnif/bandwhich
|
Source: https://github.com/imsnif/bandwhich
|
||||||
|
|
||||||
<br>
|
|
||||||
|
|
||||||
### 1.1.2. Example
|
|
||||||
```
|
|
||||||
docker run -it --net host bandwhich -i eth0
|
|
||||||
```
|
|
||||||
|
@ -10,8 +10,10 @@ WORKDIR /build
|
|||||||
RUN apk add --no-cache make libc-dev build-base
|
RUN apk add --no-cache make libc-dev build-base
|
||||||
# Copy sources
|
# Copy sources
|
||||||
ADD .build/repository/ .
|
ADD .build/repository/ .
|
||||||
# Update dependencies and Compile
|
# Update dependencies
|
||||||
RUN cargo update && TARGET="release" make
|
RUN cargo update
|
||||||
|
# Compile
|
||||||
|
RUN TARGET="release" make
|
||||||
|
|
||||||
|
|
||||||
# ---- Release ----
|
# ---- Release ----
|
||||||
@ -19,4 +21,4 @@ FROM base AS release
|
|||||||
# Copy build-target
|
# Copy build-target
|
||||||
COPY --from=build /build/target/release/bandwhich .
|
COPY --from=build /build/target/release/bandwhich .
|
||||||
|
|
||||||
ENTRYPOINT ["./bandwhich"]
|
CMD ["./bandwhich"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user