lets test and push
Some checks failed
Build Docker Image on Commit / build-and-publish (push) Failing after 3m8s

This commit is contained in:
Merith-TK 2025-07-04 02:34:05 +01:00
parent 8657a734af
commit ba547a2130
7 changed files with 584 additions and 37 deletions

View file

@ -1 +1,25 @@
FROM alpine:3.12
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"]