added rootfs/etc/nginx/html, moved to glibc/

This commit is contained in:
Ricard Bejarano 2019-02-20 08:22:25 +01:00
parent 31425ee97b
commit 980f0a9a0d
No known key found for this signature in database
GPG key ID: 5A5105DD6B91CA19
3 changed files with 46 additions and 1 deletions

View file

@ -70,7 +70,6 @@ COPY --from=build /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 \
/lib/x86_64-linux-gnu/libresolv.so.2 \ /lib/x86_64-linux-gnu/libresolv.so.2 \
/lib/x86_64-linux-gnu/ /lib/x86_64-linux-gnu/
COPY --from=build /tmp/nginx/objs/nginx /nginx COPY --from=build /tmp/nginx/objs/nginx /nginx
COPY --from=build /tmp/nginx/html /etc/nginx/html
STOPSIGNAL SIGTERM STOPSIGNAL SIGTERM

View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<title>Error</title>
<style>
body {
width: 35em;
margin: 0 auto;
font-family: Tahoma, Verdana, Arial, sans-serif;
}
</style>
</head>
<body>
<h1>An error occurred.</h1>
<p>Sorry, the page you are looking for is currently unavailable.<br/>
Please try again later.</p>
<p>If you are the system administrator of this resource then you should check
the error log for details.</p>
<p><em>Faithfully yours, nginx.</em></p>
</body>
</html>

View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>
<style>
body {
width: 35em;
margin: 0 auto;
font-family: Tahoma, Verdana, Arial, sans-serif;
}
</style>
</head>
<body>
<h1>Welcome to nginx!</h1>
<p>If you see this page, the nginx web server is successfully installed and
working. Further configuration is required.</p>
<p>For online documentation and support please refer to
<a href="http://nginx.org/">nginx.org</a>.<br/>
Commercial support is available at
<a href="http://nginx.com/">nginx.com</a>.</p>
<p><em>Thank you for using nginx.</em></p>
</body>
</html>