mirror of
https://github.com/rancher/rke.git
synced 2025-06-30 17:22:07 +00:00
13 lines
389 B
Docker
13 lines
389 B
Docker
|
FROM nginx:1.13.6-alpine
|
||
|
|
||
|
RUN apk add --update curl ca-certificates \
|
||
|
&& curl -L -o /usr/bin/confd https://github.com/kelseyhightower/confd/releases/download/v0.12.0-alpha3/confd-0.12.0-alpha3-linux-amd64 \
|
||
|
&& chmod +x /usr/bin/confd \
|
||
|
&& mkdir -p /etc/confd
|
||
|
|
||
|
ADD templates /etc/confd/templates/
|
||
|
ADD conf.d /etc/confd/conf.d/
|
||
|
ADD entrypoint.sh /
|
||
|
|
||
|
ENTRYPOINT ["/entrypoint.sh"]
|