代码拉取完成,页面将自动刷新
同步操作将从 橙子/doctron 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
.DEFAULT: help
IMAGE_NAME ?= lampnick/doctron
CENTOS_IMAGE_TAG ?= v0.3.2-centos
ALPINE_IMAGE_TAG ?= v0.3.2-alpine
help: Makefile
@echo "Doctron is a document convert tools for html pdf image etc.\r\n"
@echo "Usage: make <command>\r\n\r\nThe commands are:\r\n"
@sed -n 's/^##//p' $< | column -t -s ':' | sed -e 's/^/ /'
# @sed -n 's/^##.*:/\033[34m &: \033[0m/p' $< | column -t -s ':' |sed -e 's/^/ /' | awk '{print $0}'
## build-runtime-alpine: build a runtime docker image with alpine.
build-runtime-alpine:
@docker build -f Dockerfile.runtime.alpine -t lampnick/runtime:chromium-alpine .
## build-doctron-alpine: build doctron docker image with alpine.
build-doctron-alpine:
@docker build -t $(IMAGE_NAME):$(ALPINE_IMAGE_TAG) .
@docker tag $(IMAGE_NAME):$(ALPINE_IMAGE_TAG) $(IMAGE_NAME):latest
## run-doctron-alpine: run doctron alpine docker image.
run-doctron-alpine:
@docker run -p 8080:8080 --rm --name doctron-alpine \
$(IMAGE_NAME):$(ALPINE_IMAGE_TAG)
## centos-golang-compile: build a golang compile docker image with centos.
centos-golang-compile:
@docker build -f Dockerfile.golang.centos -t lampnick/golang:v1.15.2-centos .
## build-doctron-centos: build doctron docker image with centos.
build-doctron-centos:
@docker build -f Dockerfile.doctron.centos -t $(IMAGE_NAME):$(CENTOS_IMAGE_TAG) .
## run-doctron-centos: run doctron centos docker image.
run-doctron-centos:
@docker run -p 8080:8080 --rm --name doctron-centos \
$(IMAGE_NAME):$(CENTOS_IMAGE_TAG)
## test-html2pdf: test convert html to pdf.
test-html2pdf:
@curl -s http://localhost:8080/status
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。