From 9006e9ba22d4316e8e9a7326af96687d0660447c Mon Sep 17 00:00:00 2001 From: Bel LaPointe Date: Thu, 19 Oct 2023 09:50:04 -0600 Subject: [PATCH] install miniserve into docker.cicd --- Dockerfile.cicd | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Dockerfile.cicd b/Dockerfile.cicd index 81645c6..479c411 100644 --- a/Dockerfile.cicd +++ b/Dockerfile.cicd @@ -5,7 +5,15 @@ FROM andreysenov/firebase-tools:latest USER root RUN echo installing dependencies... -RUN apt update && apt -y install git woff2 bash wget gnupg2 && (wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | tee -a /etc/apt/sources.list.d/google.list && (apt update; apt --fix-broken install; apt -y install google-chrome-stable)) +RUN apt update \ + && apt -y install git woff2 bash curl wget gnupg2 \ + && ( \ + wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \ + && echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | tee -a /etc/apt/sources.list.d/google.list \ + && (apt update; apt --fix-broken install; apt -y install google-chrome-stable) \ + ) \ + && curl -L https://github.com/svenstaro/miniserve/releases/download/v0.24.0/miniserve-0.24.0-x86_64-unknown-linux-musl > /bin/miniserve \ + && chmod +x /bin/miniserve RUN echo copying vale... COPY --from=vale /bin/vale /bin/vale