Skip to content
A trivial Dockerfile which installs Gatling onto an Alpine Linux Docker image which already has Java installed on it.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
conf initial working version Jun 13, 2017
results initial working version Jun 13, 2017
user-files initial working version Jun 13, 2017
.gitignore initial working version Jun 13, 2017
Dockerfile initial working version Jun 13, 2017
LICENSE Initial commit Jun 13, 2017
README.md initial working version Jun 13, 2017

README.md

Alpine Linux Gatling Docker Image

A trivial Dockerfile which installs Gatling onto an Alpine Linux Docker image which already has Java installed on it. Can be used for performance testing without the need to install Gatling or its dependencies.

Getting Started

Prerequisites

Install

To build this Docker image, simply run the command below, substituting the tag name with one of your choice (if required).

docker build . -t nextmetaphor/alpine-gatling

Deployment

To execute a shell on the created image, simply run the command below.

docker run \
    -v $(pwd)/conf:/opt/gatling-charts-highcharts-bundle/conf \
    -v $(pwd)/user-files:/opt/gatling-charts-highcharts-bundle/user-files \
    -v $(pwd)/results:/opt/gatling-charts-highcharts-bundle/results \
    -it nextmetaphor/alpine-gatling sh

This will mount three volumes from the host machine onto the Docker container. Refer to the Gatling documentation as to the purpose of each directory. Omit any of these volume mounts if not required.

Validation

TODO

Licence

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

You can’t perform that action at this time.