mirror of
https://github.com/TokTok/c-toxcore
synced 2026-09-25 15:34:12 +00:00
Used by NetBSD, but we build on Alpine Linux for speed. Separately, we will build on NetBSD without pkgsrc, to see whether it compiles and runs there. That VM build is more expensive and harder to debug, so we keep the pkgsrc Linux build for development.
11 lines
294 B
Docker
11 lines
294 B
Docker
FROM toxchat/pkgsrc:latest
|
|
|
|
WORKDIR /work
|
|
COPY . /work/c-toxcore-0.2.18
|
|
RUN ["tar", "zcf", "c-toxcore.tar.gz", "c-toxcore-0.2.18"]
|
|
|
|
WORKDIR /work/pkgsrc/chat/toxcore
|
|
RUN ["bmake", "clean"]
|
|
RUN ["bmake", "DISTFILES=c-toxcore.tar.gz", "DISTDIR=/work", "NO_CHECKSUM=yes"]
|
|
RUN ["bmake", "install"]
|