Skip to content

Commit 2dcb2b2

Browse files
committed
Working alpine docker builds
1 parent 4f953f1 commit 2dcb2b2

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

.dockerignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
build
2+
.git
3+
Dockerfile
4+

Dockerfile.mistserver

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM alpine AS mist_build
2+
3+
RUN apk add --update git patch meson ninja gcc g++ linux-headers
4+
ADD . /src/
5+
RUN mkdir /build/; cd /build; meson setup /src -Dlibrist:default_library=static -Dmbedtls:default_library=static -DDEBUG=3 -Dstrip=true; ninja install
6+
7+
FROM alpine
8+
RUN apk add libstdc++
9+
COPY --from=mist_build /usr/local/ /usr/local/
10+
11+
LABEL org.opencontainers.image.authors="Jaron Viëtor <jaron.vietor@ddvtech.com>"
12+
EXPOSE 4242 8080 1935 5554
13+
ENTRYPOINT ["MistController"]
14+
HEALTHCHECK CMD ["MistUtilHealth"]
15+

0 commit comments

Comments
 (0)