Skip to content

Commit

Permalink
Add taag to dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
fatihbaltaci committed Oct 1, 2021
1 parent 4e44f01 commit 571e859
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
10 changes: 8 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o /app/ddosify main.go


FROM alpine:3.14.2
ENV ENV="/root/.ashrc"
ENV TERM="xterm-256color"
WORKDIR /root
RUN apk --no-cache add ca-certificates
COPY --from=builder /app/ddosify ./bin/
ENTRYPOINT ["ddosify"]

COPY --from=builder /app/ddosify /bin/

COPY assets/ddosify.profile /tmp/profile
RUN cat /tmp/profile >> "$ENV"
6 changes: 5 additions & 1 deletion Dockerfile.release
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
FROM alpine:3.14.2
ENV ENV="/root/.ashrc"
ENV TERM="xterm-256color"
WORKDIR /root
RUN apk --no-cache add ca-certificates
COPY ddosify /bin/

ENTRYPOINT ["ddosify"]
COPY assets/ddosify.profile /tmp/profile
RUN cat /tmp/profile >> "$ENV"
14 changes: 14 additions & 0 deletions assets/ddosify.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
export TERM=xterm-256color
NC='\033[0m'
printf "\e[38;5;172m\n"
cat<<ddosify
__ __ _ ____
____/ /____/ /____ _____ (_)/ __/__ __
/ __ // __ // __ \ / ___// // /_ / / / /
/ /_/ // /_/ // /_/ /(__ )/ // __// /_/ /
\__,_/ \__,_/ \____//____//_//_/ \__, /
/____/

ddosify

printf "Simple usage:${NC} ddosify -t targetsite.com\n\n"

0 comments on commit 571e859

Please sign in to comment.