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.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>
|
||||
|
||||
### 1.1.2. Example
|
||||
```
|
||||
docker run -it --net host bandwhich -i eth0
|
||||
```
|
||||
Source: https://github.com/imsnif/bandwhich
|
||||
|
@ -10,8 +10,10 @@ WORKDIR /build
|
||||
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
|
||||
# Update dependencies
|
||||
RUN cargo update
|
||||
# Compile
|
||||
RUN TARGET="release" make
|
||||
|
||||
|
||||
# ---- Release ----
|
||||
@ -19,4 +21,4 @@ FROM base AS release
|
||||
# Copy build-target
|
||||
COPY --from=build /build/target/release/bandwhich .
|
||||
|
||||
ENTRYPOINT ["./bandwhich"]
|
||||
CMD ["./bandwhich"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user