-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
35 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,18 @@ | ||
FROM martinweismann/lib3mf_ppcbuilds:latest | ||
# Copy this to root folder of lib3mf then build and run this image. | ||
FROM ubuntu:20.04 | ||
|
||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install build-essential uuid-dev wget | ||
|
||
RUN wget -qO- "https://cmake.org/files/v3.28/cmake-3.28.1-linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C /usr/local | ||
|
||
ADD . lib3mf-repo | ||
ADD CI/script.sh script.sh | ||
ENTRYPOINT ["sh", "script.sh"] | ||
|
||
WORKDIR "/lib3mf-repo" | ||
|
||
RUN cmake/GenerateMake.sh | ||
|
||
WORKDIR "/lib3mf-repo/build" | ||
|
||
RUN cmake --build . | ||
|
||
RUN ctest -V . |
This file was deleted.
Oops, something went wrong.