forked from allenai/ai2thor-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.MCS
23 lines (18 loc) · 1.04 KB
/
Dockerfile.MCS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# MCS extension of AI2-Thor dockerfile.
#
FROM ai2thor-docker:latest
ARG mcsversion=0.3.5
# ARG mcsversion=0.3.6
WORKDIR /mcs
# Note: The LC_ALL=C.UTF-8 is necessary because the OS does not seem to have
# locale information installed. We can either install it and set the default
# localization information, or just tell it to use UTF-8 everywhere.
# See: https://unix.stackexchange.com/questions/87745/what-does-lc-all-c-do
RUN export LC_ALL=C.UTF-8 && python3 -m pip install git+https://github.com/NextCenturyCorporation/MCS@${mcsversion}
# add ai2thor/unity resources
ADD https://github.com/NextCenturyCorporation/MCS/releases/download/${mcsversion}/MCS-AI2-THOR-Unity-App-v${mcsversion}.x86_64 /mcs
ADD https://github.com/NextCenturyCorporation/MCS/releases/download/${mcsversion}/MCS-AI2-THOR-Unity-App-v${mcsversion}_Data.tar.gz /mcs
RUN tar -xzvf /mcs/MCS-AI2-THOR-Unity-App-v${mcsversion}_Data.tar.gz -C /mcs && \
chmod a+x /mcs/MCS-AI2-THOR-Unity-App-v${mcsversion}.x86_64 && \
rm /mcs/MCS-AI2-THOR-Unity-App-v${mcsversion}_Data.tar.gz