-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into stable for 1.5
- Loading branch information
Showing
264 changed files
with
2,403 additions
and
19,754 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.git | ||
examples | ||
_build |
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 |
---|---|---|
|
@@ -38,3 +38,5 @@ setup.* | |
examples | ||
benchs | ||
*.exe | ||
*.install | ||
.merlin |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM ocaml/opam:alpine as build | ||
# init and set perms | ||
WORKDIR /zipper/build | ||
RUN sudo chown opam: /zipper/build | ||
# deps | ||
RUN eval `opam config env` && \ | ||
opam update && \ | ||
opam depext -i zarith && \ | ||
opam install jbuilder zarith containers sequence msat menhir | ||
# main build | ||
COPY --chown=opam:nogroup src *.opam Makefile ./ | ||
RUN eval `opam config env` && \ | ||
make build && \ | ||
cp _build/default/main/zipperposition.exe ./zipperposition | ||
|
||
# prepare lightweight production image | ||
FROM alpine:latest as prod | ||
WORKDIR /root | ||
RUN apk update && apk add gmp-dev | ||
COPY --from=build /zipper/build/zipperposition . | ||
ENTRYPOINT ["./zipperposition"] |
Oops, something went wrong.