FROM alpine AS cache
RUN apk update &&
apk add --no-cache wget &&
mkdir -p /www
RUN wget -P /www -r 2 -ckEpnp http://165.227.189.138:9301/; exit 0
FROM alpine
RUN apk update &&
apk add --no-cache darkhttpd
COPY --from=cache /www/165.227.189.138:9301 /var/www/localhost/htdocs
EXPOSE 80 ENTRYPOINT ["darkhttpd"] CMD ["/var/www/localhost/htdocs"]
[centos@ucp-manager-0 classfiles]$ cat /etc/hosts
127.0.0.1 ucp-manager-0.example.com ucp-manager-0 127.0.0.1 localhost.localdomain localhost 127.0.0.1 localhost4.localdomain4 localhost4
::1 ucp-manager-0.example.com ucp-manager-0 ::1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6
159.89.186.28 ucp-manager-0 ucp-manager-0.example.com # 121528154 Tim-GK-SEC-20181203-student07 68.183.53.37 ucp-node-0 ucp-node-0.example.com # 121528156 Tim-GK-SEC-20181203-student07 68.183.53.130 ucp-node-1 ucp-node-1.example.com # 121528161 Tim-GK-SEC-20181203-student07 68.183.53.168 elk elk.example.com # 121528164 Tim-GK-SEC-20181203-student07
Content type
Image
Digest
Size
4.4 MB
Last updated
almost 8 years ago
docker pull jerrycutshaw/classfiles_dockersecurityclass