-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
55 lines (38 loc) · 1.42 KB
/
Copy pathDockerfile
File metadata and controls
55 lines (38 loc) · 1.42 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
FROM ubuntu:22.04
RUN apt update -y
WORKDIR app
COPY . /app/
RUN apt install -y wget unzip
RUN apt update -y
WORKDIR app
COPY . /app/
RUN apt install -y wget unzip
ARG DEBIAN_FRONTEND=noninteractive
## install gauge
RUN apt-get install -y curl
RUN curl -SsL https://downloads.gauge.org/stable | sh
RUN gauge install screenshot
RUN gauge install java
RUN gauge install xml-report
RUN gauge install html-report
ENV PATH=/root/.gauge:$PATH
##Install the pre requisites first to install chrome
RUN apt-get install -y tzdata
RUN apt-get install -y libappindicator1 fonts-liberation
RUN apt-get -y install libcurl4 lsb-release xdg-utils
RUN apt-get -y install libasound2 lsb-release xdg-utils
RUN apt-get -y install libgbm1 lsb-release xdg-utils
RUN apt-get -y install libnspr4 lsb-release xdg-utils
RUN apt-get -y install libnss3 lsb-release xdg-utils
##Install chrome
RUN apt-get -y install dbus-x11 xfonts-base xfonts-100dpi xfonts-75dpi xfonts-cyrillic xfonts-scalable libvulkan1
RUN wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
RUN dpkg -i google-chrome-stable_current_amd64.deb
RUN apt -f install -y
RUN apt-get update
##Install java and mvn
RUN apt-get install -y --no-install-recommends openjdk-17-jdk
RUN apt-get install -y --no-install-recommends maven
##Install git
RUN apt-get install -y --no-install-recommends git
RUN git clone https://github.com/vmso/io.bdd_testing_frameworks --branch master