-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue with static linking for C interp libraries.
- Loading branch information
OopsOverflow
committed
Feb 1, 2022
1 parent
343c14a
commit 3a053eb
Showing
11 changed files
with
49 additions
and
3,691 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 |
---|---|---|
@@ -1,2 +1,5 @@ | ||
doc | ||
_build | ||
_build | ||
output.txt | ||
comp | ||
*.o |
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,26 +1,33 @@ | ||
FROM ocaml/opam:alpine AS init-opam | ||
FROM ocaml/opam:ubuntu-16.04 AS init-opam | ||
|
||
RUN set -x && \ | ||
git -C /home/opam/opam-repository pull origin master && opam update && \ | ||
opam upgrade | ||
|
||
RUN set -x && \ | ||
: "Update and upgrade default packagee" && \ | ||
sudo apk update && sudo apk upgrade && \ | ||
sudo apk add linux-headers | ||
sudo apt-get install && sudo apt-get upgrade && \ | ||
sudo apt-get install bison flex -y | ||
|
||
# --- # | ||
|
||
FROM init-opam AS kat | ||
COPY . . | ||
|
||
RUN set -x && \ | ||
: "Install related pacakges" && \ | ||
opam install . --deps-only && \ | ||
eval $(opam env) && \ | ||
: "Build applications" && \ | ||
dune build | ||
|
||
RUN set -x && \ | ||
: "Building Interp" && \ | ||
cd interprete && sudo make clean && sudo make | ||
|
||
#SSH § | ||
EXPOSE 3000 | ||
|
||
# TODO : CMD [ "executable" ] | ||
LABEL org.opencontainers.image.source="https://github.com/OopsOverflow/turbo_katana" | ||
|
||
# TODO : CMD [ "executable" ] |
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
Oops, something went wrong.