use rsync to copy binaries to host

This commit is contained in:
DarkCat09 2025-01-27 15:14:04 +04:00
parent faa60c6bd1
commit 4533203a88
Signed by: DarkCat09
GPG key ID: BD3CE9B65916CD82
3 changed files with 4 additions and 3 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/openj9-dist

View file

@ -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

View file

@ -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: