diff --git a/librecores-ci-openrisc/Dockerfile b/librecores-ci-openrisc/Dockerfile index 7c89188..f74b0b0 100644 --- a/librecores-ci-openrisc/Dockerfile +++ b/librecores-ci-openrisc/Dockerfile @@ -1,11 +1,14 @@ -FROM librecores/librecores-ci:0.2.0 +FROM librecores/librecores-ci:0.3.0 LABEL Description="This is the default LibreCores CI Image for openrisc builds" Vendor="Librecores" Version="2019.1" WORKDIR /tmp/src/tools RUN export HOME=/tmp -#Get toolchain +# No releases/tags available, hence we just pick the fixed verion +ARG OR1K_TESTS_VERSION=7372eae64b2f25cffaac7792fe2bc918919061bf + +# Get toolchain RUN apt-get update && apt-get install -y curl RUN apt install xz-utils RUN curl --remote-name --location \ @@ -18,4 +21,5 @@ ENV PATH="/tmp/tools/or1k-elf/bin:${PATH}" # Download and compile or1k-tests RUN git clone https://github.com/openrisc/or1k-tests.git WORKDIR /tmp/src/tools/or1k-tests/native -RUN make -j8 \ No newline at end of file +RUN git checkout ${OR1K_TESTS_VERSION} +RUN make -j8