~dricottone/docker-moinmoin19

ref: f059bb7d8f132ffda300eccabc3315bed656aacc docker-moinmoin19/Makefile -rw-r--r-- 678 bytes
f059bb7dDominic Ricottone Update to use `/var/moin` instead of `/var/www`. 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
UPSTREAM_URL_MOIN="http://static.moinmo.in/files/moin-1.9.11.tar.gz"
UPSTREAM_URL_SIG="http://static.moinmo.in/files/moin-1.9.11.tar.gz.asc"
UPSTREAM_SHA256="02be31d55f39d4fe0c6253df8b49e01b76d095634cbd1b56d185f66e1e0c3cf5"
UPSTREAM_GPG="FAF7B393"

clean:
	rm -rf build/*

download:
	curl ${UPSTREAM_URL_MOIN} --output build/moin.tar.gz
	curl ${UPSTREAM_URL_SIG} --output build/moin.tar.gz.asc
	echo "${UPSTREAM_SHA256} build/moin.tar.gz" | sha256sum --check
	gpg --keyserver keyserver.ubuntu.com --recv-key ${UPSTREAM_GPG}
	gpg --verify build/moin.tar.gz.asc build/moin.tar.gz
	tar xzf build/moin.tar.gz --directory build/

image: clean download
	docker build --tag my-moin .