Public Repository

Last pushed: 15 days ago
Short Description
Short description is empty for this repo.
Full Description

with-mirage Dockerfile:

FROM ocaml/ocaml:alpine-3.5

RUN apk update && apk upgrade && \
  apk add rsync xz opam && \
  apk update && apk upgrade && \
  apk add aspcud && \
  adduser -S mebox && \
  echo 'mebox ALL=(ALL:ALL) NOPASSWD:ALL' > /etc/sudoers.d/mebox && \
  chmod 440 /etc/sudoers.d/mebox && \
  chown root:root /etc/sudoers.d/mebox && \
  sed -i.bak 's/^Defaults.*requiretty//g' /etc/sudoers

USER mebox
WORKDIR /home/mebox

RUN mkdir .ssh && \
  chmod 700 .ssh && \
  sudo -u mebox sh -c "opam init -a -y" && \
  sudo -u mebox sh -c "opam install -y depext" && \
  sudo -u mebox sh -c "opam depext -i mirage"

ENTRYPOINT [ "opam", "config", "exec", "--" ]
CMD [ "sh" ]
Docker Pull Command
Owner
seveneng

Comments (0)