aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2021-01-13 11:17:05 +0100
committerOliver Smith <osmith@sysmocom.de>2021-01-13 15:54:23 +0100
commitb68cfd7fa9b5a24ff779dc2dd4c96ca0dc61d45d (patch)
tree90e6cf3fe748765646cb178610e5d061fcdeebec
parent26003afcbc24c39cde59044d325a08261f3ef363 (diff)
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
-rw-r--r--fpga-build/Dockerfile8
1 files changed, 8 insertions, 0 deletions
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