diff --git a/.papr_prepare.sh b/.papr_prepare.sh index 730cd65408..b30abfc667 100644 --- a/.papr_prepare.sh +++ b/.papr_prepare.sh @@ -1,7 +1,7 @@ #!/bin/bash set -xeuo pipefail -DIST=$(cat /etc/redhat-release | awk '{print $1}') +DIST=${DIST:=Fedora} IMAGE=fedorapodmanbuild PYTHON=python3 if [[ ${DIST} != "Fedora" ]]; then diff --git a/Dockerfile.CentOSDev b/Dockerfile.CentOS similarity index 100% rename from Dockerfile.CentOSDev rename to Dockerfile.CentOS diff --git a/Makefile b/Makefile index bb5779d25a..3e337a431b 100644 --- a/Makefile +++ b/Makefile @@ -112,6 +112,10 @@ integration: libpodimage integration.fedora: DIST=Fedora sh .papr_prepare.sh + +integration.centos: + DIST=CentOS sh .papr_prepare.sh + testunit: $(GO) test -tags "$(BUILDTAGS)" -cover $(PACKAGES) @@ -193,10 +197,7 @@ install.tools: .install.gitvalidation .install.gometalinter .install.md2man .install.md2man: .gopathok if [ ! -x "$(GOPATH)/bin/go-md2man" ]; then \ - go get -d github.com/cpuguy83/go-md2man; \ - cd $(GOPATH)/src/github.com/cpuguy83/go-md2man; \ - git checkout 20f5889cbdc3c73dbd2862796665e7c465ade7d1; \ - go install github.com/cpuguy83/go-md2man; \ + go get -u github.com/cpuguy83/go-md2man; \ fi .install.ostree: .gopathok