Sign inSign up

zerolabssyseng/certbot

By zerolabssyseng

•Updated almost 7 years ago

Certbot Container

Image
0

333

zerolabssyseng/certbot repository overview

⁠Certbot Container

⁠Configure Makefile.am
IMAGE = zerolabssyseng/certbot

clean-local:
	docker rmi $(CLEAN_OPTIONS) $(IMAGE):$(TAG) || true

build:
	docker build $(BUILD_OPTIONS) --build-arg TAG=${TAG} -t $(IMAGE):$(TAG) .

pull:
	docker pull $(PULL_OPTIONS) $(IMAGE):$(TAG)

push: build
	docker push $(PUSH_OPTIONS) $(IMAGE):$(TAG)
⁠Running with make
make [options]:
    clean-local
    build
    pull
    push
⁠Dockerfile
ARG TAG

FROM zerolabssyseng/base-consul:${TAG:-latest}
MAINTAINER "System Engineer (SysEng)"

RUN apk add --update certbot openssl && \
    rm -rf /var/cache/apk/*

COPY rootfs/ /

ENTRYPOINT ["/usr/bin/certbot"]
CMD []

VOLUME ["/data"]
WORKDIR /data
⁠Docker Compose (Skeleton)
version: '3.5'

volumes:
    certbot:

services:
    certbot:
        image: zerolabssyseng/certbot:latest
        container_name: zerolabssyseng_certbot
        volumes:
            - /etc/localtime:/etc/localtime:ro
            - ./data/certbot:/data
        environment:
            - ENV=local

Tag summary

Content type

Image

Digest

Size

38 MB

Last updated

almost 7 years ago

docker pull zerolabssyseng/certbot