~dricottone/docker-moinmoin19

ref: c4ac795f601cce7547cffb3cd8a75cc5b70bd120 docker-moinmoin19/Makefile -rw-r--r-- 756 bytes
c4ac795fDominic Ricottone Final commit 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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"

CONMAN=docker

clean:
	$(CONMAN) image rm --force my-moin || true
	rm -rf build/*

download:
	mkdir -p build
	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
	$(CONMAN) build --tag my-moin .