forked from atlassian/dc-app-performance-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
27 lines (19 loc) · 994 Bytes
/
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
# 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 python:3.11-slim
ENV APT_INSTALL="apt-get -y install --no-install-recommends"
RUN apt-get -y update \
&& $APT_INSTALL vim git openssh-server wget openjdk-11-jdk \
&& python -m pip install --upgrade pip \
&& 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"]