Container para emitir Certificados Let's Encrypt, com o Dehydrated
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

24 lines
419 B

sudo: required
language: bash
dist: trusty
env:
- VERSION=0.3.1
services:
- docker
install:
- git clone https://github.com/docker-library/official-images.git ~/official-images
before_script:
- env | sort
- cd "$VERSION"
- image="willfarrell/letsencrypt:$VERSION"
script:
- docker build --pull -t "$image" .
- docker run -d "$image"
- docker ps | grep "$image" | awk '{print $1}' || { exit 1; }