A WhatsApp (Web) transport for XMPP.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
741B

  1. FROM rigetti/lisp AS whatscl-compiled
  2. RUN apt update -y && apt install -y git
  3. RUN sbcl --eval '(progn (quicklisp:update-dist "quicklisp" :prompt nil) (sb-ext:exit))'
  4. RUN git clone https://github.com/sharplispers/ironclad /src/ironclad
  5. RUN git clone https://github.com/eeeeeta/websocket-driver /src/websocket-driver
  6. RUN git clone https://git.theta.eu.org/whatscl.git /src/whatscl
  7. ADD ./ /src/whatsxmpp
  8. WORKDIR /src/whatsxmpp
  9. RUN make
  10. FROM debian:stable-slim AS whatsxmpp
  11. WORKDIR /wx
  12. RUN apt-get update && apt-get install -y libz-dev libsqlite3-dev libssl-dev ca-certificates && apt-get clean && rm -rf /var/lib/apt/lists/*
  13. RUN mkdir /wx-data
  14. COPY --from=whatscl-compiled /src/whatsxmpp/whatsxmpp /wx/whatsxmpp
  15. ENTRYPOINT ["/wx/whatsxmpp"]