Skip to content

Instantly share code, notes, and snippets.

@InTheCloudDan
Created January 26, 2018 00:54
Show Gist options
  • Save InTheCloudDan/e1e44a960836c727d93ca17540787be9 to your computer and use it in GitHub Desktop.
Save InTheCloudDan/e1e44a960836c727d93ca17540787be9 to your computer and use it in GitHub Desktop.
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