takserver/Dockerfile
Merith-TK ba547a2130
Some checks failed
Build Docker Image on Commit / build-and-publish (push) Failing after 3m8s
lets test and push
2025-07-04 02:34:05 +01:00

25 lines
599 B
Docker

FROM postgres:15.1
# Install required packages
RUN apt-get update && apt install -y \
postgresql-15-postgis-3 \
openjdk-17-jdk \
emacs-nox \
net-tools \
netcat \
vim \
unzip \
&& rm -rf /var/lib/apt/lists/*
# Create the tak directory and logs directory
RUN mkdir -p /opt/tak /opt/tak/logs
# Create entrypoint script that handles TAK archive extraction
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
# Set environment variables
ENV TAK_MODE=server
ENV TAK_ARCHIVE_PATH=/tak-archive/takserver-docker-5.4-RELEASE-19.zip
ENTRYPOINT ["/entrypoint.sh"]