-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
31 lines (25 loc) · 922 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM docker.io/library/ubuntu:22.04
ENV TZ="US/Hawaii"
#set timezone variable
#https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
RUN ln -fs /usr/share/zoneinfo/$TZ /etc/localtime && \
apt-get update && apt-get upgrade -y && apt-get install -y tzdata \
ca-certificates \
#necessary for TLS when connecting to steam servers
\
screen && \
#will allow a new remote shell to pull up server console
\
rm -rf /var/lib/apt/lists/*
#remove apt package cache
WORKDIR /app
EXPOSE 27015/udp
EXPOSE 27016/udp
ENTRYPOINT ["screen", "./ServerHelper.sh"]
LABEL maintainer="human" \
org.label-schema.name="Unturned" \
org.label-schema.vendor="OG Networks" \
org.label-schema.build-date="2023-06-04" \
org.label-schema.description="Custom OS for Unturned Server" \
org.label-schema.url="https://www.ogrydziak.net" \
org.label-schema.vcs-ref="https://github.com/notarobot767/unturned"