@jahia/cypress 3.14.1 → 3.14.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ci.build.sh +1 -1
- package/env.Dockerfile +26 -0
- package/env.Dockerfile.dockerignore +3 -0
- package/package.json +1 -1
package/ci.build.sh
CHANGED
package/env.Dockerfile
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
FROM cypress/browsers:node16.16.0-chrome107-ff107-edge
|
|
2
|
+
|
|
3
|
+
ARG MAVEN_VER="3.8.1"
|
|
4
|
+
ARG MAVEN_BASE_URL="https://archive.apache.org/dist/maven/maven-3"
|
|
5
|
+
|
|
6
|
+
RUN apt-get update && apt-get install -y jq
|
|
7
|
+
|
|
8
|
+
RUN adduser --disabled-password jahians
|
|
9
|
+
|
|
10
|
+
USER jahians
|
|
11
|
+
WORKDIR /home/jahians
|
|
12
|
+
|
|
13
|
+
COPY --chown=jahians:jahians package.json yarn.lock /home/jahians/
|
|
14
|
+
|
|
15
|
+
RUN mkdir -p /home/jahians/run-artifacts /home/jahians/results /home/jahians/cypress/plugins
|
|
16
|
+
|
|
17
|
+
#CI=true reduces the verbosity of the installation logs
|
|
18
|
+
RUN CI=true yarn install
|
|
19
|
+
|
|
20
|
+
COPY --chown=jahians:jahians . /home/jahians
|
|
21
|
+
|
|
22
|
+
RUN CI=true /home/jahians/node_modules/.bin/cypress install
|
|
23
|
+
|
|
24
|
+
RUN mkdir -p .m2; cp maven.settings.xml .m2/settings.xml; exit 0
|
|
25
|
+
|
|
26
|
+
CMD /bin/bash -c /home/jahians/env.run.sh
|