-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (22 loc) · 781 Bytes
/
Dockerfile
File metadata and controls
27 lines (22 loc) · 781 Bytes
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
FROM ubuntu:17.04
MAINTAINER Gary Ritchie <gary@garyritchie.com>
ARG VERSION=2017.2.0f3
ARG UCPATH=https://netstorage.unity3d.com/unity/46dda1414e51/
LABEL Name=unity-cacheserver Version=${VERSION}
RUN apt update \
&& apt -qy --no-install-recommends install \
unzip \
cpio \
curl \
wget \
&& apt -qy clean \
&& rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/* \
&& rm -rf /usr/share/man/?? /usr/share/man/??_*
RUN cd /opt \
&& wget --no-check-certificate ${UCPATH}CacheServer-${VERSION}.zip \
&& unzip CacheServer-${VERSION}.zip \
&& rm CacheServer-${VERSION}.zip
EXPOSE 8125 8126
# ENTRYPOINT ["/opt/CacheServer/RunLinux.sh"]
ENTRYPOINT ["/bin/bash", "-c", "/opt/CacheServer/RunLinux.sh \"$@\"", "--"]
# CMD []