From 4533203a883e16e509e08a08f8d55dd178a26735 Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Mon, 27 Jan 2025 15:14:04 +0400 Subject: [PATCH] use rsync to copy binaries to host --- .gitignore | 1 + Dockerfile.openj9 | 2 +- docker-compose.yml | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6bec4b6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/openj9-dist diff --git a/Dockerfile.openj9 b/Dockerfile.openj9 index 81a8527..9f9d494 100644 --- a/Dockerfile.openj9 +++ b/Dockerfile.openj9 @@ -8,7 +8,7 @@ RUN apt update \ ant ant-contrib autoconf build-essential ca-certificates cmake cpio curl file g++-13 gcc-13 gdb git \ libasound2-dev libcups2-dev libdwarf-dev libelf-dev libexpat1-dev libffi-dev libfontconfig libfontconfig1-dev \ libfreetype6-dev libnuma-dev libssl-dev libx11-dev libxext-dev libxrandr-dev libxrender-dev libxt-dev libxtst-dev \ - make nasm pkg-config python3 python3-dev systemtap-sdt-dev unzip wget xvfb zip zlib1g-dev \ + make nasm pkg-config python3 python3-dev rsync systemtap-sdt-dev unzip wget xvfb zip zlib1g-dev \ && rm -rf /var/lib/apt/lists/* WORKDIR /build diff --git a/docker-compose.yml b/docker-compose.yml index 9b13572..375c59d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,9 +4,9 @@ services: context: . dockerfile: Dockerfile.openj9 target: build - command: sh -c 'while true; do sleep 20; done' + command: sh -c 'rsync -ivr /build/dist/* /build/host' volumes: - - "./openj9-dist:/build/dist" + - "./openj9-dist:/build/host" openj9-run: image: git.dc09.ru/darkcat09/openj9 build: