From 895092a3cc77813c4d30812c0d98c084afd2b274 Mon Sep 17 00:00:00 2001 From: Sergey Shorokhov Date: Thu, 17 Oct 2024 00:22:17 +0300 Subject: [PATCH] Dockerfile: copy chmod too & fix chmod for files --- Dockerfile | 5 +---- testdemos_files/runRegamedll.sh | 0 testdemos_files/runRehlds.sh | 0 testdemos_files/runTest.sh | 0 4 files changed, 1 insertion(+), 4 deletions(-) mode change 100644 => 100755 testdemos_files/runRegamedll.sh mode change 100644 => 100755 testdemos_files/runRehlds.sh mode change 100644 => 100755 testdemos_files/runTest.sh diff --git a/Dockerfile b/Dockerfile index fe54c34..74d153a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -70,7 +70,4 @@ COPY --from=download_hlds_windows /opt/hlds /opt/HLDS WORKDIR /opt/HLDS # Add test depend files -COPY testdemos_files . - -# CMD [ "./test.sh" ] -# CMD wine hlds.exe --rehlds-enable-all-hooks --rehlds-test-play "testdemos/cstrike-basic-1.bin" -game cstrike -console -port 27039 +map regamedll_test_map_v5 \ No newline at end of file +COPY --chmod=x testdemos_files . diff --git a/testdemos_files/runRegamedll.sh b/testdemos_files/runRegamedll.sh old mode 100644 new mode 100755 diff --git a/testdemos_files/runRehlds.sh b/testdemos_files/runRehlds.sh old mode 100644 new mode 100755 diff --git a/testdemos_files/runTest.sh b/testdemos_files/runTest.sh old mode 100644 new mode 100755