From cdf61f593710005c050b26eb1e80a523b250ee92 Mon Sep 17 00:00:00 2001 From: Jason Moore Date: Thu, 31 Oct 2024 15:16:20 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/Dockerfile b/Dockerfile index f38c59cb..f833257c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -70,20 +70,12 @@ RUN chmod 755 /startup.sh && \ touch /app/rand_hash RUN chmod 755 /pre_startup.sh -# Health checks for kubernetes -RUN wget https://raw.githubusercontent.com/dbca-wa/wagov_utils/main/wagov_utils/bin/health_check.sh -O /bin/health_check.sh -RUN chmod 755 /bin/health_check.sh - -# scheduler -RUN wget https://raw.githubusercontent.com/dbca-wa/wagov_utils/main/wagov_utils/bin-python/scheduler/scheduler.py -O /bin/scheduler.py -RUN chmod 755 /bin/scheduler.py - -# Add azcopy to container -RUN mkdir /tmp/azcopy/ -RUN wget https://aka.ms/downloadazcopy-v10-linux -O /tmp/azcopy/azcopy.tar.gz -RUN cd /tmp/azcopy/ ; tar -xzvf azcopy.tar.gz -RUN cp /tmp/azcopy/azcopy_linux_amd64_10.26.0/azcopy /bin/azcopy -RUN chmod 755 /bin/azcopy + +# Default Scripts +RUN wget https://raw.githubusercontent.com/dbca-wa/wagov_utils/main/wagov_utils/bin/default_script_installer.sh -O /tmp/default_script_installer.sh +RUN chmod 755 /tmp/default_script_installer.sh +RUN /tmp/default_script_installer.sh + # Install Python libs from requirements.txt. FROM builder_base_mooringlicensing as python_libs_ml WORKDIR /app