Skip to content

Commit

Permalink
Refreshed container dev setup stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenldl committed Nov 28, 2023
1 parent e2dec56 commit fab7088
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
4 changes: 3 additions & 1 deletion containers/timere/Containerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM docker.io/ocaml/opam

USER root
RUN apt-get update
RUN apt-get install --yes pkg-config

USER opam
RUN opam install dune containers fmt
RUN opam install re ptime oseq seq diet
RUN opam install yojson fileutils
Expand Down
7 changes: 6 additions & 1 deletion start-container-timere-fuzz.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#!/bin/bash
podman run -it -v ~/timere:/root/timere --rm localhost/timere-fuzz
podman run -it \
-v ~/timere:/home/opam/timere \
--userns keep-id:uid=1000,gid=1000 \
--workdir /home/opam/timere \
--rm \
localhost/timere-fuzz
7 changes: 6 additions & 1 deletion start-container-timere.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#!/bin/bash
podman run -it -v ~/timere:/root/timere --rm localhost/timere
podman run -it \
-v ~/timere:/home/opam/timere \
--userns keep-id:uid=1000,gid=1000 \
--workdir /home/opam/timere \
--rm \
localhost/timere

0 comments on commit fab7088

Please sign in to comment.