Created
March 27, 2015 22:56
-
-
Save harvimt/a1dab09936f9bb7d6887 to your computer and use it in GitHub Desktop.
Docker inform7 builder
This file contains hidden or 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
docker build -t inform7-builder . | |
touch story.ni | |
touch output.ulx | |
mkdir -p build | |
docker run -ti \ | |
-v "$PWD/story.ni":/root/project.inform/Source/story.ni:ro \ | |
-v "$PWD/output.ulx":/root/project.inform/Build/output.ulx \ | |
inform7-builder |
This file contains hidden or 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:latest | |
RUN apt-get update | |
RUN apt-get install -y curl unionfs-fuse git | |
RUN curl -O -# http://inform7.com/download/content/6L38/gnome-inform7_6L38-0ubuntu1_amd64.deb | |
RUN dpkg -i --force-depends gnome-inform7_6L38-0ubuntu1_amd64.deb | |
RUN apt-get -yf install | |
RUN rm gnome-inform7_6L38-0ubuntu1_amd64.deb | |
RUN apt-get remove -y curl | |
RUN echo barfoo # trick update from here | |
COPY generic_project.inform /root/project.inform | |
COPY run.sh /run.sh | |
RUN chmod +x /run.sh | |
VOLUME /root/project.inform/Source/story.ni | |
VOLUME /root/project.inform/Build | |
CMD /run.sh |
This file contains hidden or 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
/usr/lib/x86_64-linux-gnu/gnome-inform7/ni -internal /usr/share/gnome-inform7 -format=ulx -project /root/project.inform && | |
cd /root/project.inform/Build && | |
/usr/lib/x86_64-linux-gnu/gnome-inform7/inform6 -wxE2kSDG '$huge' auto.inf output.ulx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment