generated from oci/template
Some checks failed
Build Docker Image on Commit / build-and-publish (push) Failing after 3m8s
25 lines
599 B
Docker
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"]
|