dylan.dockerfile 700 B

12345678910111213141516171819202122232425262728
  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://github.com/dylan-lang/opendylan/releases/download/v2020.1.0/opendylan-2020.1-x86_64-linux.tar.bz2
  6. RUN tar xjf opendylan-2020.1-x86_64-linux.tar.bz2
  7. RUN git clone --recursive https://github.com/dylan-lang/http
  8. RUN git clone https://github.com/dylan-lang/json
  9. ENV PATH /opt/opendylan-2020.1/bin:$PATH
  10. WORKDIR /
  11. RUN make-dylan-app dylan-server
  12. ENV OPEN_DYLAN_USER_REGISTRIES /dylan-server/registry:/opt/http/registry:/opt/json/registry
  13. COPY *.dylan dylan-server/
  14. WORKDIR /dylan-server
  15. RUN dylan-compiler -build dylan-server.lid
  16. CMD ./_build/bin/dylan-server