Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Build only specific version #7

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ENV PATH $JMETER_HOME/bin:$PATH
# INSTALL PRE-REQ
RUN apt-get update && \
apt-get -y install \
wget
wget

# INSTALL JMETER BASE
RUN mkdir /jmeter
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ build_all:
docker build --build-arg JMETER_VERSION=$$version --tag pedrocesarti/jmeter-docker:$$version . ; \
docker push pedrocesarti/jmeter-docker:$$version ; \
done < VERSIONS

# make build_specific_version version=5.0
build_specific_version:
@docker build --build-arg JMETER_VERSION=$$version --tag pedrocesarti/jmeter-docker:$$version .
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,22 @@ docker run -p 60000:60000 -v <TEST_PLAN_LOCAL>:<TEST_PLAN_CONTAINER> -d pedroces
docker run -p 1099:1099 -p 50000:50000 -d pedrocesarti/jmeter-docker:latest server
```

### Building versions

Build latest version:
```sh
make
```

Build all versions:
```sh
make build_all
```

Building only a specific version
```sh
make build_specific_version version=5.0
```

## Running Master and Server (Docker Compose)
You can also create a whole stack with master and servers to run a distributed JMeter tests locally or in a Docker Swarm Cluster. Check out this [docker-compose.yml](https://github.com/pedrocesar-ti/distributed-jmeter-docker/blob/master/local/docker-compose.yml) to see one example of this infra running locally.
Expand Down