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 && \
4+ yum install -y mysql java-17-openjdk java-17-openjdk-devel rsync which curl && \
55 yum clean all
66
77ENV JAVA_HOME /usr/lib/jvm/java-openjdk
@@ -24,7 +24,13 @@ ADD joda-time-2.1.jar .
2424# Copy certificate generation scripts from the build context
2525COPY cws-certs /opt/cws-certs
2626
27- # Ensure the specific script is executable
28- RUN chmod +x /opt/cws-certs/generate-certs-testing.sh
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
2935
3036ENTRYPOINT [ "./wait_for_db_es_console.sh" ]
You can’t perform that action at this time.
0 commit comments