You need to develop the image that allows to convert HTML to (Github) Markdown.
- Start a container with bash in an interactive mode using
ubuntu:latest
as the base image - Install
curl
inside the container - Install the latest version of pandoc from official releases:
https://github.com/jgm/pandoc/releases
- Try downloading any page, say
https://google.com
usingcurl
, and piping it through pandoc. Use arguments such that pandoc will read HTML and convert it to Github Flavoured Markdown - Write a Dockerfile which will create an image from
ubuntu:latest
, that will containcurl
and pandoc, and will run thecurl | pandoc | less
pipeline. The container run from that image must take at least one argument, URI, which must be passed as an argument tocurl
in the pipeline. This way you should get an image of a primitive text-based internet browser - Build an image from the
Dockerfile
- Authenticate with your Docker Hub account’s credentials in your Docker client
- Push the built image into the Docker Hub so anyone could pull it
- Create
README.md
file with instructions on how to get and run the containerized application (via Dockerfile and Docker hub) - Create a private Github repository
- Add me to the list of contributors
- Add the Dockerfile and other supplementary files you’ve created
- Make commit
- Push the branch into the Github repository
- Create PR. Add me to the list of reviewers. Wait for the PR to get reviewed and merge it.