From 475f0dbe74a1a02ae67fd35d086240306341f505 Mon Sep 17 00:00:00 2001 From: Sandro Date: Tue, 29 Sep 2020 10:31:03 +0200 Subject: [PATCH] Fix cosmetic issues, change maintainer to rustscan Changing only a few lines does not give you maintainer. Also people might contact the person if they need to reach out about something which is probably not intended. --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index fd86ff49f..056e84722 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ FROM rust:alpine as builder -LABEL maintainer="CMNatic +LABEL maintainer="RustScan " RUN apk add --no-cache build-base # Encourage some layer caching here rather then copying entire directory that includes docs to builder container ~CMN WORKDIR /usr/src/rustscan COPY Cargo.toml Cargo.lock ./ -COPY src src +COPY src/ src/ RUN cargo install --path . FROM alpine:3.12 @@ -16,4 +16,4 @@ RUN addgroup -S rustscan && \ apk add --no-cache nmap nmap-scripts wget COPY --from=builder /usr/local/cargo/bin/rustscan /usr/local/bin/rustscan USER rustscan -ENTRYPOINT [ "/usr/local/bin/rustscan" ] \ No newline at end of file +ENTRYPOINT [ "/usr/local/bin/rustscan" ]