Skip to content

Commit

Permalink
Enable to install with docker
Browse files Browse the repository at this point in the history
  • Loading branch information
nakabonne committed Sep 16, 2020
1 parent a1b616d commit 1180908
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,12 @@ brews:
name: homebrew-ali
homepage: 'https://github.com/nakabonne/ali'
description: 'Generate HTTP load and plot the results in real-time'

dockers:
- dockerfile: Dockerfile
binaries:
- ali
image_templates:
- "nakabonne/ali:latest"
- "nakabonne/ali:{{ .Tag }}"
- "nakabonne/ali:v{{ .Major }}.{{ .Minor }}"
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM alpine

COPY ali /usr/bin/
CMD ["ali"]
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# ali

[![Go Doc](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square)](https://godoc.org/github.com/nakabonne/ali)

<div align="center">

Another load testing tool, inspired by [vegeta](https://github.com/tsenart/vegeta) and [jplot](https://github.com/rs/jplot).
Expand All @@ -15,6 +17,24 @@ With it, real-time analysis can be performed on the terminal.

Executables are available through the [releases page](https://github.com/nakabonne/ali/releases).

**With Homebrew**

```bash
brew install nakabonne/ali/ali
```

**With Go**

```bash
go get github.com/nakabonne/ali
```

**With Docker**

```bash
docker run --rm -it nakabonne/ali ali
```

## Usage
### Quickstart
Give the target URL and press Enter, then the attack will be launched with default options.
Expand Down

0 comments on commit 1180908

Please sign in to comment.