From 4df2f8cb97a2494b4a46fb0db796430bf0570429 Mon Sep 17 00:00:00 2001 From: williamfzc <178894043@qq.com> Date: Tue, 14 Jul 2020 16:41:33 +0800 Subject: [PATCH 1/2] fix: src should sync with tag not latest --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9ad15d2..baa8b09 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ RUN apk add --no-cache \ RUN PATH=$PATH:/usr/lib/jvm/java-1.8-openjdk/bin RUN curl -L -o scrcpy-server https://github.com/Genymobile/scrcpy/releases/download/v${SCRCPY_VER}/scrcpy-server-v${SCRCPY_VER} RUN echo "$SERVER_HASH /scrcpy-server" | sha256sum -c - -RUN git clone https://github.com/Genymobile/scrcpy.git +RUN git clone --branch v1.12.1 --depth 1 https://github.com/Genymobile/scrcpy.git RUN cd scrcpy && meson x --buildtype release --strip -Db_lto=true -Dprebuilt_server=/scrcpy-server RUN cd scrcpy/x && ninja From 810a82b0ea435da9e39e27c6fb5c3d25e5ed42a2 Mon Sep 17 00:00:00 2001 From: williamfzc <178894043@qq.com> Date: Wed, 15 Jul 2020 10:14:12 +0800 Subject: [PATCH 2/2] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index baa8b09..187106e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ RUN apk add --no-cache \ RUN PATH=$PATH:/usr/lib/jvm/java-1.8-openjdk/bin RUN curl -L -o scrcpy-server https://github.com/Genymobile/scrcpy/releases/download/v${SCRCPY_VER}/scrcpy-server-v${SCRCPY_VER} RUN echo "$SERVER_HASH /scrcpy-server" | sha256sum -c - -RUN git clone --branch v1.12.1 --depth 1 https://github.com/Genymobile/scrcpy.git +RUN git clone --branch v${SCRCPY_VER} --depth 1 https://github.com/Genymobile/scrcpy.git RUN cd scrcpy && meson x --buildtype release --strip -Db_lto=true -Dprebuilt_server=/scrcpy-server RUN cd scrcpy/x && ninja