Skip to content

Commit

Permalink
Fix also arch linux Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
lucteo committed May 12, 2018
1 parent 2f6c04b commit ee18d13
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile.arch
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ RUN pacman -Syu --noconfirm grep python2
# Copy the Sparrow source files
RUN mkdir /sparrow
RUN mkdir /sparrow/src
RUN mkdir /sparrow/externals
RUN mkdir /sparrow/unittests
RUN mkdir /sparrow/SparrowImplicitLib
COPY src /sparrow/src
COPY externals /sparrow/externals
COPY unittests /sparrow/unittests
COPY SparrowImplicitLib /sparrow/SparrowImplicitLib
COPY CMakeLists.txt /sparrow/
COPY Macros.cmake /sparrow/
Expand All @@ -30,6 +34,10 @@ RUN cmake ..
RUN cmake --build . -- -j4
RUN cmake --build . -- install

# Run the unit tests
WORKDIR /sparrow/build/bin
RUN ./SparrowUnitTests

# Ensure the newly installed libraries can be found
RUN ldconfig

Expand Down

0 comments on commit ee18d13

Please sign in to comment.