Skip to content

Commit

Permalink
Updated opam and docker stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenldl committed Mar 30, 2023
1 parent f5d9dc5 commit d4c672d
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 22 deletions.
2 changes: 1 addition & 1 deletion containers/timedesc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ USER root
RUN apt-get update
RUN apt-get install --yes pkg-config
RUN opam install dune containers fmt
RUN opam install mparser re ptime oseq seq diet
RUN opam install re ptime oseq seq diet
RUN opam install yojson fileutils
RUN opam install utop ocp-indent
RUN opam install alcotest crowbar
Expand Down
7 changes: 2 additions & 5 deletions containers/timere/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@ RUN apt-get update
RUN apt-get install --yes pkg-config
RUN apt-get install --yes afl
RUN opam install dune containers fmt
RUN opam install mparser re ptime oseq seq diet
RUN opam install re ptime oseq seq diet
RUN opam install yojson fileutils
RUN opam install utop ocp-indent
RUN opam install alcotest crowbar
RUN opam install js_of_ocaml js_of_ocaml-ppx lwt_ppx
RUN opam install js_of_ocaml-lwt qcheck qcheck-alcotest
RUN opam install angstrom
RUN opam install mparser angstrom
RUN opam install sexplib
2 changes: 2 additions & 0 deletions start-container-timere.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
podman run -it -v ~/timere:/root/timere --rm localhost/timere
5 changes: 3 additions & 2 deletions timedesc-json.opam
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,16 @@ depends: [
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
["dune" "subst" "--root" "."] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"--promote-install-files=false"
"--promote-install-files"
"false"
"@install"

"@doc" {with-doc}
Expand Down
5 changes: 3 additions & 2 deletions timedesc-sexp.opam
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,16 @@ depends: [
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
["dune" "subst" "--root" "."] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"--promote-install-files=false"
"--promote-install-files"
"false"
"@install"

"@doc" {with-doc}
Expand Down
5 changes: 3 additions & 2 deletions timedesc-tzdb.opam
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,16 @@ depends: [
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
["dune" "subst" "--root" "."] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"--promote-install-files=false"
"--promote-install-files"
"false"
"@install"

"@doc" {with-doc}
Expand Down
5 changes: 3 additions & 2 deletions timedesc-tzlocal-js.opam
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,16 @@ depends: [
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
["dune" "subst" "--root" "."] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"--promote-install-files=false"
"--promote-install-files"
"false"
"@install"

"@doc" {with-doc}
Expand Down
5 changes: 3 additions & 2 deletions timedesc-tzlocal.opam
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,16 @@ depends: [
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
["dune" "subst" "--root" "."] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"--promote-install-files=false"
"--promote-install-files"
"false"
"@install"

"@doc" {with-doc}
Expand Down
5 changes: 3 additions & 2 deletions timedesc.opam
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,16 @@ depends: [
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
["dune" "subst" "--root" "."] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"--promote-install-files=false"
"--promote-install-files"
"false"
"@install"

"@doc" {with-doc}
Expand Down
5 changes: 3 additions & 2 deletions timere-parse.opam
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,16 @@ depends: [
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
["dune" "subst" "--root" "."] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"--promote-install-files=false"
"--promote-install-files"
"false"
"@install"

"@doc" {with-doc}
Expand Down
5 changes: 3 additions & 2 deletions timere.opam
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,16 @@ depends: [
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
["dune" "subst" "--root" "."] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"--promote-install-files=false"
"--promote-install-files"
"false"
"@install"

"@doc" {with-doc}
Expand Down

0 comments on commit d4c672d

Please sign in to comment.