File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ brew update
66brew install pkg-config
77brew install opam
88brew install libev
9- opam init -y --compiler=4.05 .0
9+ opam init -y --compiler=4.12 .0
1010eval  $( opam env) 
1111
1212opam install -y -j 2 .  --deps-only --locked
Original file line number Diff line number Diff line change 1- FROM  ocaml/opam2 :alpine as compilation
1+ FROM  ocaml/opam :alpine-3.13-ocaml-4.12  as compilation
22LABEL  Description="learn-ocaml building"  Vendor="OCamlPro" 
33
44WORKDIR  /home/opam/learn-ocaml
Original file line number Diff line number Diff line change 11# This Dockerfile is useful for testing purposes
22# to ensure learn-ocaml-client can be built alone from learn-ocaml-client.opam
33
4- FROM ocaml/opam:alpine-3.13-ocaml-4.05  as compilation
4+ FROM ocaml/opam:alpine-3.13-ocaml-4.12  as compilation
55LABEL Description="learn-ocaml building" Vendor="OCamlPro"
66
77WORKDIR learn-ocaml
@@ -13,7 +13,7 @@ RUN sudo chown -R opam:nogroup .
1313ENV OPAMYES true
1414RUN echo 'archive-mirrors: [ "https://opam.ocaml.org/cache" ]' >> ~/.opam/config \
1515  && opam repository set-url default http://opam.ocaml.org \
16-   && opam switch 4.05  \
16+   && opam switch 4.12  \
1717  && echo 'pre-session-commands: [ "sudo" "apk" "add" depexts ]' >> ~/.opam/config \
1818  && opam pin add -n -y -k path learn-ocaml-client . \
1919  && opam install learn-ocaml-client --deps-only
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ cd $(dirname "$0")/..
1010set  -o pipefail
1111git ls-files -z |  xargs -0 tar c |  \
1212  docker run --rm -i \
13-     ocamlpro/ocaml:4.05  \
13+     ocamlpro/ocaml:4.12  \
1414    sh -uexc \
1515      ' tar x >&2 &&
1616       sudo apk add openssl-libs-static >&2 && 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments