From fd3f267c64ebea4647b7afd681e1c5e41573fa45 Mon Sep 17 00:00:00 2001 From: Sergey Stepanov Date: Sun, 15 Aug 2021 20:27:47 +0300 Subject: [PATCH] Update scripts Docker cache order. Install missing xauth for xvfb-run. --- Dockerfile | 2 +- scripts/install.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 46bd7506..c7cb2a67 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,7 +35,7 @@ RUN go mod download COPY pkg ./pkg COPY cmd ./cmd COPY Makefile . -COPY scripts ./scripts +COPY scripts/version.sh scripts/version.sh ARG VERSION RUN GIT_VERSION=${VERSION} make build diff --git a/scripts/install.sh b/scripts/install.sh index 13a9c0a8..359c3b7b 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -13,4 +13,5 @@ apt-get -qq install --no-install-recommends -y \ libx264-160 \ libopus0 \ libgl1-mesa-glx \ - xvfb + xvfb \ + xauth