Skip to content

Commit 7422e50

Browse files
committed
wip
1 parent 4a0875a commit 7422e50

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

install/docker/cws-image/Dockerfile

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM oraclelinux:8
22

33
RUN 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

77
ENV 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
2525
COPY 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

3036
ENTRYPOINT [ "./wait_for_db_es_console.sh" ]

0 commit comments

Comments
 (0)