From b68cfd7fa9b5a24ff779dc2dd4c96ca0dc61d45d Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Wed, 13 Jan 2021 11:17:05 +0100 Subject: fpga-build: add osmo-ci Clone osmo-ci.git, and install all files from scripts/* to /usr/local/bin. Related: OS#4911 Change-Id: I3625d6f10e566101fb25963757da6827670ca41b --- fpga-build/Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/fpga-build/Dockerfile b/fpga-build/Dockerfile index a9c3ceb..9a81c96 100644 --- a/fpga-build/Dockerfile +++ b/fpga-build/Dockerfile @@ -41,3 +41,11 @@ RUN chown build:build /build RUN echo "PATH=/opt/fpga-toolchain/bin:/opt/xpack-riscv-none-embed-gcc-${RISCV_TOOLCHAIN_VER}/bin:\$PATH" >> /etc/environment ENV PATH=/opt/fpga-toolchain/bin:/opt/xpack-riscv-none-embed-gcc-${RISCV_TOOLCHAIN_VER}/bin:${PATH} + +# Install osmo-ci.git/scripts to /usr/local/bin +ADD http://git.osmocom.org/osmo-ci/patch /tmp/osmo-ci-commit +RUN git clone https://git.osmocom.org/osmo-ci osmo-ci && \ + cp -v $(find osmo-ci/scripts \ + -maxdepth 1 \ + -type f ) \ + /usr/local/bin -- cgit v1.2.3