From 5157910266449aa7a50a90537d3b8c61855b7ba1 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 20 Sep 2021 14:17:38 +0200 Subject: [PATCH] cleanup --- Dockerfile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2ea5ef1..4255439 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,14 +29,8 @@ RUN apt-get update && apt-get install -y git curl wget gnupg jq && \ echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" | tee "/etc/apt/sources.list.d/google.list" && \ apt-get update && apt-get install --no-install-recommends -y google-chrome-stable && \ LHCI_VERSION="${LHCI_VERSION##v}" && \ - LHCI_MAJOR="${LHCI_VERSION%%.*}" && \ - if [ -z "${LHCI_MAJOR//[0-9]}" ] && [ -n "$LHCI_MAJOR" ]; then \ - echo "Installing lhci version '$LHCI_VERSION' ..." && \ - npm install -g @lhci/cli@"$LHCI_VERSION"; \ - else \ - echo "Installing latest lhci ..." && \ - npm install -g @lhci/cli; \ - fi && \ + echo "Installing lhci version '$LHCI_VERSION' ..." && \ + npm install -g @lhci/cli@"$LHCI_VERSION"; \ npm install -g lighthouse && \ rm -rf /var/lib/apt/lists/* && \ rm -rf /tmp/* && \