L1-node icon indicating copy to clipboard operation
L1-node copied to clipboard

Look into docker-slim

Open DiegoRBaquero opened this issue 3 years ago • 2 comments

https://github.com/docker-slim/docker-slim

DiegoRBaquero avatar Aug 03 '22 21:08 DiegoRBaquero

Is there any special requirement for that? I would prefer alpine-image more as it's more lightweight than any other slim/ubuntu/debian image I've ever found.

typoworx-de avatar Nov 11 '22 12:11 typoworx-de

https://github.com/chainguard-images/nginx may be worth considering? But in this project's current architecture you are running both Nginx AND Node in 1 single container, of course... so https://github.com/chainguard-images/node (or GoogleContainerTools' distroless Node)? I noticed that you are rebuilding your very own special Nginx from sources anyway in the Dockerfile, and haven't fully understood yet what you get FROM nginx:${NGINX_VERSION}... is that just just for base configuration files? Then perhaps we could use a distroless Node, and just COPY from that nginx whatever you need (clearly not the binary, as its replaced).

vorburger avatar Nov 26 '22 01:11 vorburger