Skip to content

Commit 398b66b

Browse files
Merge pull request #27 from Nancy-Chauhan/Version_dockerimage
Pin the latest fixed version of or1k-test
2 parents 7d1eecd + e6f70f0 commit 398b66b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

librecores-ci-openrisc/Dockerfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
FROM librecores/librecores-ci:0.2.0
1+
FROM librecores/librecores-ci:0.3.0
22

33
LABEL Description="This is the default LibreCores CI Image for openrisc builds" Vendor="Librecores" Version="2019.1"
44

55
WORKDIR /tmp/src/tools
66
RUN export HOME=/tmp
77

8-
#Get toolchain
8+
# No releases/tags available, hence we just pick the fixed verion
9+
ARG OR1K_TESTS_VERSION=7372eae64b2f25cffaac7792fe2bc918919061bf
10+
11+
# Get toolchain
912
RUN apt-get update && apt-get install -y curl
1013
RUN apt install xz-utils
1114
RUN curl --remote-name --location \
@@ -18,4 +21,5 @@ ENV PATH="/tmp/tools/or1k-elf/bin:${PATH}"
1821
# Download and compile or1k-tests
1922
RUN git clone https://github.com/openrisc/or1k-tests.git
2023
WORKDIR /tmp/src/tools/or1k-tests/native
21-
RUN make -j8
24+
RUN git checkout ${OR1K_TESTS_VERSION}
25+
RUN make -j8

0 commit comments

Comments
 (0)