Compare commits

..

No commits in common. "7e2a97bf0d643e2deb125b2baf4ffa657175a2c0" and "471d42618d59184c51cf9e7fadf340be50d210d5" have entirely different histories.

2 changed files with 6 additions and 12 deletions

View File

@ -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

View File

@ -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"]