kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch20/docker-images/web-ping-archiver/Dockerfile

8 lines
131 B
Docker

FROM alpine:3.12
RUN apk add --no-cache \
curl
ENV WEB_PING_URL="http://web-ping-api:8080/archive"
CMD curl -s $WEB_PING_URL