dylan.dockerfile 613 B

123456789101112131415161718192021222324252627
  1. FROM buildpack-deps:bionic
  2. RUN apt-get -yqq update
  3. RUN apt-get -yqq install libgc-dev libunwind-dev
  4. WORKDIR /opt
  5. RUN wget -q https://opendylan.org/downloads/opendylan/2019.1/opendylan-2019.1-x86_64-linux.tar.bz2
  6. RUN tar xjf opendylan-2019.1-x86_64-linux.tar.bz2
  7. RUN git clone --recursive https://github.com/dylan-lang/http
  8. ENV PATH /opt/opendylan-2019.1/bin:$PATH
  9. WORKDIR /
  10. RUN make-dylan-app dylan-server
  11. ENV OPEN_DYLAN_USER_REGISTRIES /dylan-server/registry:/opt/http/registry
  12. COPY *.dylan dylan-server/
  13. WORKDIR /dylan-server
  14. RUN dylan-compiler -build dylan-server.lid
  15. CMD ./_build/bin/dylan-server