Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
caisar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
caisar
Commits
93741d58
Commit
93741d58
authored
2 years ago
by
Michele Alberti
Browse files
Options
Downloads
Patches
Plain Diff
[docker] CAISAR dockerfile.
parent
05b32c43
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+46
-0
46 additions, 0 deletions
Dockerfile
with
46 additions
and
0 deletions
Dockerfile
0 → 100644
+
46
−
0
View file @
93741d58
# Dockerfile for easy install and use of CAISAR.
FROM
ocaml/opam:ubuntu-ocaml-4.13
RUN
opam repository set-url default https://opam.ocaml.org
&&
\
opam update
-y
&&
\
opam
install
depext
-y
ENV
OPAM_SWITCH_PREFIX "/home/opam/.opam/4.13"
ENV
CAML_LD_LIBRARY_PATH "/home/opam/.opam/4.13/lib/stublibs:/home/opam/.opam/4.13/lib/ocaml/stublibs:/home/opam/.opam/4.13/lib/ocaml"
ENV
OCAML_TOPLEVEL_PATH "/home/opam/.opam/4.13/lib/toplevel"
ENV
MANPATH "$MANPATH:/home/opam/.opam/4.13/man"
ENV
PATH "/home/opam/.opam/4.13/bin:$PATH"
## Avoid prompts for time zone
ENV
TZ=Europe/Paris
## Fix issue with libGL on Windows
ENV
LIBGL_ALWAYS_INDIRECT=1
RUN
sudo
apt-get
install
-yy
\
protobuf-compiler
\
autoconf
\
debianutils
\
libgmp-dev
\
pkg-config
\
zlib1g-dev
\
git
&&
\
git clone
--depth
1 https://git.frama-c.com/pub/caisar.git
RUN
cd
caisar
&&
opam
install
.
--deps-only
--with-test
-y
ENV
OPAM_SWITCH_PREFIX "/home/opam/.opam/4.13"
ENV
CAML_LD_LIBRARY_PATH "/home/opam/.opam/4.13/lib/stublibs:/home/opam/.opam/4.13/lib/ocaml/stublibs:/home/opam/.opam/4.13/lib/ocaml"
ENV
OCAML_TOPLEVEL_PATH "/home/opam/.opam/4.13/lib/toplevel"
ENV
MANPATH "$MANPATH:/home/opam/.opam/4.13/man"
ENV
PATH "/home/opam/.opam/4.13/bin:$PATH"
## Avoid prompts for time zone
ENV
TZ=Europe/Paris
## Fix issue with libGL on Windows
ENV
LIBGL_ALWAYS_INDIRECT=1
RUN
cd
caisar
&&
make
&&
make
install
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment