forked from atlassian/dc-app-performance-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
29 lines (21 loc) · 1.11 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# name: atlassian/dcapt
# working dir: dc-app-performance-toolkit
# build: docker build -t atlassian/dcapt .
# bzt run: docker run --shm-size=4g -v "$PWD:/dc-app-performance-toolkit" atlassian/dcapt jira.yml
# interactive run: docker run -it --entrypoint="/bin/bash" -v "$PWD:/dc-app-performance-toolkit" atlassian/dcapt
FROM blazemeter/taurus
ENV APT_INSTALL="apt-get -y install --no-install-recommends"
RUN apt-get -y update \
&& $APT_INSTALL vim git openssh-server python3.8-dev python3-pip wget \
&& update-alternatives --install /usr/bin/python python /usr/bin/python3.8 1 \
&& python -m pip install --upgrade pip \
&& python -m pip install --upgrade setuptools \
&& apt-get clean
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
&& $APT_INSTALL ./google-chrome-stable_current_amd64.deb \
&& rm -rf ./google-chrome-stable_current_amd64.deb
COPY requirements.txt /tmp/requirements.txt
RUN pip install --no-cache-dir -r /tmp/requirements.txt
RUN rm -rf /root/.bzt/jmeter-taurus/
WORKDIR /dc-app-performance-toolkit/app
ENTRYPOINT ["bzt", "-o", "modules.console.disable=true"]