generated from oci/template
lets test and push
Some checks failed
Build Docker Image on Commit / build-and-publish (push) Failing after 3m8s
Some checks failed
Build Docker Image on Commit / build-and-publish (push) Failing after 3m8s
This commit is contained in:
parent
8657a734af
commit
ba547a2130
7 changed files with 584 additions and 37 deletions
26
Dockerfile
26
Dockerfile
|
@ -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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue