mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-23 13:37:59 +01:00
17 lines
410 B
Docker
17 lines
410 B
Docker
|
FROM alpine:3.12 as builder
|
||
|
|
||
|
RUN apk add --no-cache make cmake linux-headers g++ git
|
||
|
RUN git clone https://github.com/wez/atomicparsley.git /tmp/atomicparsley
|
||
|
|
||
|
RUN cd /tmp/atomicparsley \
|
||
|
&& cmake . \
|
||
|
&& cmake --build . --config Release
|
||
|
|
||
|
FROM alpine:3.12
|
||
|
|
||
|
RUN apk add libstdc++
|
||
|
|
||
|
COPY --from=builder /tmp/atomicparsley/AtomicParsley /usr/local/bin/AtomicParsley
|
||
|
|
||
|
ENTRYPOINT ["/usr/local/bin/AtomicParsley"]
|