File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM oraclelinux:8
22
33RUN yum update -y && \
4- yum install -y mysql java-17-openjdk java-17-openjdk-devel rsync which curl && \
4+ yum install -y mysql java-17-openjdk java-17-openjdk-devel rsync which && \
55 yum clean all
66
77ENV JAVA_HOME /usr/lib/jvm/java-openjdk
@@ -14,23 +14,9 @@ WORKDIR /home/cws_user
1414ADD cws_server.tar.gz .
1515ADD startup.sh .
1616ADD wait_for_db_es_console.sh .
17- ADD setup_testing_environment.sh .
18- ADD testing_entrypoint.sh .
1917
2018# For time check
2119ADD getTime.java .
2220ADD joda-time-2.1.jar .
2321
24- # Copy certificate generation scripts from the build context
25- COPY cws-certs /opt/cws-certs
26-
27- # Download logstash for CWS installer
28- RUN curl -o /home/cws_user/cws/server/logstash-8.12.0.zip https://artifacts.elastic.co/downloads/logstash/logstash-8.12.0-windows-x86_64.zip
29-
30- # Ensure scripts are executable
31- RUN chmod +x /opt/cws-certs/generate-certs-testing.sh && \
32- chmod +x setup_testing_environment.sh && \
33- chmod +x testing_entrypoint.sh && \
34- chmod +x wait_for_db_es_console.sh
35-
3622ENTRYPOINT [ "./wait_for_db_es_console.sh" ]
You can’t perform that action at this time.
0 commit comments