Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions librecores-ci-openrisc/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand All @@ -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
RUN git checkout ${OR1K_TESTS_VERSION}
RUN make -j8