Sign inSign up

jerrycutshaw/classfiles_dockersecurityclass

By jerrycutshaw

•Updated almost 8 years ago

Image
0

95

jerrycutshaw/classfiles_dockersecurityclass repository overview

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

⁠Your system has configured 'manage_etc_hosts' as True.

⁠As a result, if you wish for changes to this file to persist

⁠then you will need to either

⁠a.) make changes to the master file in /etc/cloud/templates/hosts.redhat.tmpl

⁠b.) change or remove the value of 'manage_etc_hosts' in

⁠/etc/cloud/cloud.cfg or cloud-config from user-data

⁠The following lines are desirable for IPv4 capable 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

⁠The following lines are desirable for IPv6 capable hosts

::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

Tag summary

Content type

Image

Digest

Size

4.4 MB

Last updated

almost 8 years ago

docker pull jerrycutshaw/classfiles_dockersecurityclass