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.
 
 
docker-ircd/atheme/Dockerfile

41 lines
689 B

ARG AT_VERSION=7.2.10-r2
FROM alpine:latest AS builder
ARG AT_VERSION
ARG MK_THREADS
RUN apk --update add \
git
RUN git clone \
-b v${AT_VERSION} \
--depth=1 \
--recurse-submodules \
-j2 \
https://github.com/atheme/atheme.git /atheme-src
WORKDIR /atheme-src
RUN apk add \
g++ \
pkgconfig
RUN ./configure \
--prefix=/srv/atheme
RUN cd libmowgli-2 && \
git pull origin master
RUN apk add \
make
RUN make -j${MK_THREADS:-$(nproc)} && \
make install
FROM alpine:latest
RUN adduser -D atheme
COPY --from=builder --chown=atheme /srv/atheme /srv/atheme
COPY root/ /
ENTRYPOINT ["/entrypoint.sh"]