2024-08-29 19:21:20 -07:00
|
|
|
FROM git.zontreck.com/ariascreations/buildenvironments:flutter AS BUILDER
|
2024-05-22 20:47:52 -07:00
|
|
|
# Obtain the Flutter SDK
|
|
|
|
WORKDIR /app
|
|
|
|
COPY . .
|
|
|
|
|
2024-08-28 17:36:52 -07:00
|
|
|
ENV DOCKER 1
|
2024-05-22 20:47:52 -07:00
|
|
|
WORKDIR /app
|
2024-08-27 17:11:33 -07:00
|
|
|
RUN PATH=$PATH:/flutter/bin /bin/bash /app/compile.sh
|
2024-08-27 16:36:13 -07:00
|
|
|
|
2024-05-22 20:47:52 -07:00
|
|
|
|
2024-08-29 19:21:20 -07:00
|
|
|
FROM git.zontreck.com/ariascreations/buildenvironments:debian AS RCONBUILD
|
2024-06-04 21:51:53 -07:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
RUN apt-get -y install build-essential git
|
|
|
|
RUN git clone https://github.com/Tiiffi/mcrcon
|
|
|
|
|
|
|
|
WORKDIR /app/mcrcon
|
|
|
|
|
|
|
|
RUN make
|
|
|
|
|
|
|
|
|
2024-09-04 19:36:23 -07:00
|
|
|
FROM git.zontreck.com/ariacreations/yolks:wine_9.16
|
2024-05-25 14:50:45 -07:00
|
|
|
|
|
|
|
|
2024-05-22 20:47:52 -07:00
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
COPY --from=BUILDER /app/out/server /app/server
|
2024-06-04 21:51:53 -07:00
|
|
|
COPY --from=RCONBUILD /app/mcrcon/mcrcon /app/rcon
|
|
|
|
|
|
|
|
|
|
|
|
EXPOSE 25306/tcp
|
|
|
|
EXPOSE 7779/tcp
|
|
|
|
EXPOSE 7779/udp
|
|
|
|
EXPOSE 7780/udp
|
|
|
|
EXPOSE 7780/tcp
|
|
|
|
EXPOSE 7781/udp
|
|
|
|
EXPOSE 7781/tcp
|
|
|
|
EXPOSE 7782/udp
|
|
|
|
EXPOSE 7782/tcp
|
|
|
|
|
|
|
|
|
2024-09-04 19:36:23 -07:00
|
|
|
USER container
|