-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempting to create df-lnp-docker with volumes
This should expose the LNP folder as $PWD/df. That way you can modify saves, add hacks and the like.
- Loading branch information
Showing
4 changed files
with
23 additions
and
89 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
lnp-URL=http://lazynewbpack.com/linux/04024/download/x64/04024r3-x64.zip | ||
lnp-zip=resources/install.zip | ||
df-URL=http://www.bay12games.com/dwarves/df_40_24_linux.tar.bz2 | ||
df-zip=resources/df.tar.bz2 | ||
image-name=tariqk/dwarf-fortress-lnp | ||
|
||
all: | resources/install.zip resources/df.tar.bz2 resources/PyLNP.user start-df-lnp-docker | ||
docker build -t $(image-name) . | ||
|
||
resources/install.zip: | ||
curl -kL -o $(lnp-zip) $(lnp-URL) | ||
|
||
resources/df.tar.bz2: | ||
curl -kL -o $(df-zip) $(df-URL) | ||
curl -kL -o $$(lnp-zip) $$(lnp-URL) ;\ | ||
unzip $$(lnp-zip) -d . ;\ | ||
mv 04024r3-x64 df | ||
|
||
.PHONY: clean | ||
clean: | ||
rm resources/install.zip resources/df.tar.bz2 | ||
rm -rf resources/install.zip df |
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
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