use lego from baseimage
This commit is contained in:
parent
51cc43c11d
commit
c0e510acba
7 changed files with 9 additions and 79 deletions
11
Dockerfile
11
Dockerfile
|
@ -1,13 +1,8 @@
|
|||
FROM golang:alpine as builder
|
||||
|
||||
RUN apk --no-cache add git
|
||||
RUN go get -v -u github.com/xenolf/lego
|
||||
|
||||
FROM registry.gitlab.com/thallian/docker-confd-env:master
|
||||
|
||||
COPY --from=builder /go/bin/lego /bin/lego
|
||||
FROM registry.gitlab.com/thallian/docker-confd-env:lego
|
||||
|
||||
ENV PGDATA /var/lib/postgresql/data
|
||||
ENV CERT_HOME /var/lib/postgresql
|
||||
ENV CERT_USER postgres
|
||||
|
||||
RUN apk add --no-cache postgresql postgresql-contrib ca-certificates
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue