Cory McWilliams
6104af0d70
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4162 ed5197a5-7fde-0310-b194-c3ffbd925b24
24 lines
543 B
Docker
24 lines
543 B
Docker
FROM bitnami/minideb:bullseye AS build
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends \
|
|
gcc \
|
|
libc6-dev \
|
|
libssl-dev \
|
|
make
|
|
|
|
COPY . /app
|
|
RUN make -C /app -j $(nproc) release
|
|
|
|
FROM bitnami/minideb:bullseye
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends \
|
|
libssl1.1
|
|
|
|
COPY --from=build /app/out/release/tildefriends /app/out/release/tildefriends
|
|
COPY --from=build /app/apps /app/apps
|
|
COPY --from=build /app/core /app/core
|
|
WORKDIR /app
|
|
EXPOSE 12345
|
|
ENTRYPOINT ["/app/out/release/tildefriends"]
|