Updating the make file to use podman and resume headers
This commit is contained in:
7
Makefile
7
Makefile
@@ -13,14 +13,11 @@ ifneq ("$(shell podman images -q ${NAME} 2> /dev/null)","")
|
||||
endif
|
||||
|
||||
resume: .podman-build
|
||||
podman run -it \
|
||||
podman run --rm \
|
||||
--volume "$(realpath .)":/data \
|
||||
--user ${USER_ID}:${GROUP_ID} \
|
||||
--name ${CONTAINER_NAME} \
|
||||
${NAME} \
|
||||
pandoc ${FILE_NAME}.md -f markdown+yaml_metadata_block --template templates/jb2resume.latex -o ${FILE_NAME}.pdf \
|
||||
; podman stop ${CONTAINER_NAME} \
|
||||
&& podman rm ${CONTAINER_NAME}
|
||||
${FILE_NAME}.md -f markdown+yaml_metadata_block --template templates/jb2resume.latex -o ${FILE_NAME}.pdf
|
||||
|
||||
.podman-build:
|
||||
if [ ${CONTAINER_EXISTS} -ne 1 ]; then podman build -t ${NAME} . && echo "" > .podman-build; fi
|
||||
|
||||
Reference in New Issue
Block a user