Skip to content

Commit

Permalink
update Dockerfile, .dockerignore = .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
vogler committed May 17, 2018
1 parent 0eef401 commit 8d72fc2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions .dockerignore
16 changes: 8 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM ocaml/opam:ubuntu-17.04_ocaml-4.06.0
RUN sudo apt-get install -yq ruby
COPY / analyzer
WORKDIR analyzer
# ugh, this takes forever... https://github.com/docker/docker/issues/6119
RUN sudo chown -R opam .
RUN make setup
CMD make
FROM ocaml/opam2-staging:ubuntu-18.04-ocaml-4.06
SHELL ["/bin/bash", "--login", "-c"]
RUN sudo apt-get update && sudo apt-get install -yq m4 ruby
COPY --chown=opam . /home/opam/analyzer
WORKDIR /home/opam/analyzer
RUN make dep
RUN make
CMD ./goblint --help

0 comments on commit 8d72fc2

Please sign in to comment.