Dockerfile

Fri, 01 May 2020 15:27:45 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Fri, 01 May 2020 15:27:45 +0100
changeset 0
e6c11dadd985
permissions
-rw-r--r--

Initial commit

0
e6c11dadd985 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
1 FROM alpine:3
e6c11dadd985 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
2
e6c11dadd985 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
3 RUN apk add --no-cache openssl bash curl
e6c11dadd985 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
4
e6c11dadd985 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
5 ADD certwatch.sh /usr/local/bin/certwatch.sh
e6c11dadd985 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
6 ADD entrypoint.sh /usr/local/bin/entrypoint.sh
e6c11dadd985 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
7
e6c11dadd985 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
8 RUN mkdir -p /etc/certwatch
e6c11dadd985 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
9
e6c11dadd985 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
10 ADD config.example.sh /etc/certwatch/config.sh
e6c11dadd985 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
11 ADD checks.example.sh /etc/certwatch/checks.sh
e6c11dadd985 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
12
e6c11dadd985 Initial commit
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
13 CMD ["/usr/local/bin/entrypoint.sh"]

mercurial