dockerfile
This commit is contained in:
parent
3d3393c5c5
commit
f0612e6613
5
.dockerignore
Normal file
5
.dockerignore
Normal file
|
@ -0,0 +1,5 @@
|
|||
*.fasl
|
||||
Dockerfile
|
||||
whatsxmpp
|
||||
*~
|
||||
*.sqlite*
|
16
Dockerfile
Normal file
16
Dockerfile
Normal file
|
@ -0,0 +1,16 @@
|
|||
FROM rigetti/lisp AS whatscl-compiled
|
||||
|
||||
RUN apt update -y && apt install -y git
|
||||
RUN git clone https://github.com/eeeeeta/websocket-driver /src/websocket-driver
|
||||
RUN git clone https://git.theta.eu.org/whatscl.git /src/whatscl
|
||||
ADD ./ /src/whatsxmpp
|
||||
WORKDIR /src/whatsxmpp
|
||||
RUN make
|
||||
|
||||
FROM debian:stable-slim AS whatsxmpp
|
||||
WORKDIR /wx
|
||||
RUN apt-get update && apt-get install -y libz-dev libsqlite3-dev libssl-dev ca-certificates
|
||||
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
RUN mkdir /wx-data
|
||||
COPY --from=whatscl-compiled /src/whatsxmpp/whatsxmpp /wx/whatsxmpp
|
||||
ENTRYPOINT "/wx/whatsxmpp"
|
Loading…
Reference in a new issue