Dockerfile 413 B

12345678910111213141516171819
  1. FROM siddiquesa/dind-debian-latest:latest
  2. ARG RUNTIME_PROFILE==PLAYGROUND
  3. ARG JOYSTREAM_BRANCH
  4. ENV RUNTIME_PROFILE=$RUNTIME_PROFILE
  5. RUN apt-get update && apt install -y sudo git
  6. RUN git clone https://github.com/Joystream/joystream.git \
  7. && cd joystream \
  8. && git checkout ${JOYSTREAM_BRANCH}
  9. COPY container-scripts/init.sh /scripts/init.sh
  10. RUN bash /scripts/init.sh
  11. CMD bash
  12. EXPOSE 9944/tcp 8081/tcp