The Docker image is ready to use:
docker run -d --name angie -p 80:8080/tcp -p 443:8443/tcp -p 443:8443/udp ghcr.io/ammnt/angie:latest
or
docker run -d --name angie -p 80:8080/tcp -p 443:8443/tcp -p 443:8443/udp ammnt/angie:latest
or with Docker Compose deployment:
services:
angie:
image: ammnt/angie:latest
user: "101:101"
read_only: true
privileged: false
tmpfs:
- /tmp:mode=1700,size=1G,noexec,nosuid,nodev,uid=101,gid=101
cap_drop:
- all
container_name: angie
security_opt:
- no-new-privileges:true
- apparmor:docker-angie
volumes:
- "./conf:/etc/angie:ro"
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
...
- Based on latest version of Alpine Linux - low size (~5 MB);
- QuicTLS with HTTP/3 and QUIC support:
https://github.com/quictls/openssl - HTTP/2 with ALPN support;
- TLS 1.3 and 0-RTT support;
- TLS 1.2 and TCP Fast Open (TFO) support;
- Built using hardening GCC flags;
- NJS and Brotli support;
- PCRE with JIT compilation;
- zlib-ng library latest version;
- Rootless master process - unprivileged container;
- Async I/O threads module;
- "Distroless" image - shell removed from the image;
- Removed unnecessary modules;
- Added OCI labels and annotations;
- No excess ENTRYPOINT in the image;
- Slimmed version by Docker Slim tool;
- Scanned efficiency result with Dive tool;
- Scanned by vulnerability scanners: GitHub, Docker Scout, Snyk, Grype, Clair and Syft;
- Prioritize ChaCha cipher patch and anonymous signature - removed "Server" header ("banner"):
https://github.com/ammnt/angie/blob/main/Dockerfile
Feel free to contact me with more security improvements🙋