|
|
|
## ascii-art-web-dockerize
|
|
|
|
|
|
|
|
### Objectives
|
|
|
|
|
|
|
|
You must follow the same [principles](https://public.01-edu.org/subjects/ascii-art-web/) as the first subject.
|
|
|
|
|
|
|
|
- For this project you must create at least :
|
|
|
|
|
|
|
|
- one Dockerfile
|
|
|
|
- one image
|
|
|
|
- one container
|
|
|
|
|
|
|
|
- You must apply [metadata](https://docs.docker.com/config/labels-custom-metadata/) to Docker objects.
|
|
|
|
|
|
|
|
- You have to take caution of unused object (often referred to as "garbage collection").
|
|
|
|
|
|
|
|
This project will help you learn about :
|
|
|
|
|
|
|
|
- Client utilities.
|
|
|
|
- The basics of web :
|
|
|
|
- Server
|
|
|
|
- HTML
|
|
|
|
- HTTP
|
|
|
|
- Ways to receive data.
|
|
|
|
- Ways to output data.
|
|
|
|
- Learning what is [docker](https://docs.docker.com).
|
|
|
|
- Using and [setting up Docker](https://docs.docker.com/get-started/) :
|
|
|
|
- Services and dependencies.
|
|
|
|
- Containerizing an application.
|
|
|
|
- Compatibility/Dependency.
|
|
|
|
- Creating images.
|
|
|
|
|
|
|
|
### Allowed packages
|
|
|
|
|
|
|
|
- Only the [standard go](https://golang.org/pkg/) packages are allowed
|
|
|
|
|
|
|
|
### Instructions
|
|
|
|
|
|
|
|
- The web server must be created in **Go**.
|
|
|
|
- The code must respect the [good practices](https://public.01-edu.org/subjects/good-practices/).
|
|
|
|
- You must use Docker.
|
|
|
|
- The project must have a **Dockerfile**.
|
|
|
|
- Your Dockerfile must respect the [Dockerfile good practices](https://docs.docker.com/develop/develop-images/dockerfile_best-practices/).
|
|
|
|
|
|
|
|
### Usage
|
|
|
|
|
|
|
|
- You can see all about Docker on [docker docs](https://docs.docker.com/).
|