Created
January 26, 2018 00:54
-
-
Save InTheCloudDan/e1e44a960836c727d93ca17540787be9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:16.04 | |
MAINTAINER jrepp@blizzard.com | |
# Update the image with required build packages | |
RUN \ | |
sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list && \ | |
apt-get update && \ | |
apt-get -y upgrade && \ | |
apt-get install -y \ | |
net-tools \ | |
htop \ | |
python-minimal \ | |
software-properties-common | |
# Please run ./download.sh && ./unpack.sh before running this Dockerfile | |
# Add the 3.16.1 | |
WORKDIR /SC2/3.16.1 | |
ADD downloads/3.16.1 . | |
# Expose the API listen port | |
#EXPOSE 12000 | |
EXPOSE $SC2_LISTEN_PORT | |
# Start SC2 with API listen port | |
ENTRYPOINT [ "/bin/bash", "-c", "/SC2/3.16.1/StarCraftII/Versions/Base55958/SC2_x64 -listen 0.0.0.0 -port $SC2_LISTEN_PORT" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment