Create Custom Docker Image
User Story
- As a: developer,
- I want: a custom docker image
- so that: I can use to deploy and test our code.
Functional Requirements
-
Create a custom docker image -
Push the docker image to a private docker image -
Hook into the gitlab pipelines for testing -
Must support: - sh (terminal commands like
cd
) - Python3
- NodeJs
- Postgres 11
- sh (terminal commands like
Description
Docker is a great way to run micro-services, for testing and deploying. Having a custom image that is based off of a good small unix/linux system would allow for more general testing.
Links to Tutorials
- https://www.howtoforge.com/tutorial/how-to-create-docker-images-with-dockerfile/
- https://docs.docker.com/develop/develop-images/baseimages/
- https://medium.com/@valgaze/from-zero-to-a-private-docker-registry-b42abad46fef
- https://blog.sleeplessbeastie.eu/2018/04/16/how-to-setup-private-docker-registry/