You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by ga...@apache.org on 2021/03/06 13:41:32 UTC

[jclouds-site] 01/01: podman configuration

This is an automated email from the ASF dual-hosted git repository.

gaul pushed a commit to branch podman
in repository https://gitbox.apache.org/repos/asf/jclouds-site.git

commit 85a73af2ffa294765e95c30c7ca34a98c60adbf2
Author: Andrew Gaul <ga...@apache.org>
AuthorDate: Sat Mar 6 22:41:08 2021 +0900

    podman configuration
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index e8ba9c5..c2e3db1 100644
--- a/Makefile
+++ b/Makefile
@@ -2,14 +2,14 @@ IMAGE := jclouds/site-builder
 MOUNTPOINT := /jclouds-site
 
 image:  ## Build the Docker image with all requirements to build and publish the sire
-	docker build -t $(IMAGE) .
+	buildah bud -t $(IMAGE) .
 
 build:  ## Build and run the site locally
 	docker run --rm -v "${PWD}:$(MOUNTPOINT)" -p 4000:4000 $(IMAGE) jekyll serve --safe --port 4000
 
 publish:  ## Publish the site to https://jclouds.apache.org
 	rm -rf site-content
-	docker run --rm -ti -v "${PWD}:$(MOUNTPOINT)" $(IMAGE) bash deploy-site.sh
+	podman run -t -i --privileged -v "${PWD}:$(MOUNTPOINT)" $(IMAGE) bash deploy-site.sh
 
 help:  ## Display this help
 	@awk 'BEGIN {FS = ":.*##"; printf "Usage:\n    make \033[36m<target>\033[0m\n\nAvailable targets:\n"} \