git @ Cat's Eye Technologies The-Cannery / 284414a
Update README, listing the common base images used here. Chris Pressey 3 years ago
1 changed file(s) with 31 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
4545 For that reason I would recommend not running the driver scripts
4646 from a directory that contains anything important, such as `/`.
4747
48 Also, there are ways to make the Docker daemon run as non-root.
49 But they are outside the scope of this document.
50
51 ### Containerization for Preservation
52
53 Because the idea here is "containerization for preservation" rather
54 than "containerization for deployment", we don't rebuild the images
55 regularly. Every time one of these images is rebuilt, it pulls
56 the latest packages from the system package manager repository,
57 which rebuilds that layer, which causes new layers to be built on
58 top of it, bloating everything. Since they are not used as servers,
59 and because they are containerized, the need to update system packages
60 regularly to fix critical (exploitable) defects is reduced.
61
62 ### Base Images
63
64 #### Python 3.x
65
66 For Python 3.x-based executables, the base image used is usually
67 **python-3.5.7-slim-stretch**.
68
69 #### Python 2.7.x
70
71 For Python 2.7-based executables, the base image used is
72 **bitnami/python:2.7.18-prod**.
73
74 #### Erlang R16
75
76 For Erlang R16-based executables, the base image used is
77 **andreineculau/erlang-r16b03-1:latest**.
78
4879 [Cat's Eye Technologies]: https://catseye.tc/
4980 [Docker images available on Docker Hub]: https://hub.docker.com/u/catseye
5081 [containerized-hastec]: https://github.com/catseye/containerized-hastec/