aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
blob: ffbb47b23462e590e4687401743829ff0bfa1ca0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM alpine AS build
RUN apk update && apk add \
    musl-dev \
    autoconf \
    automake \
    make \
    gcc
COPY . /build
WORKDIR /build
RUN autoreconf -fi && ./configure && make
RUN make DESTDIR=/opt install

FROM alpine
COPY --from=build /opt /
COPY docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"]