|
FROM debian:12 |
|
|
|
LABEL org.opencontainers.image.authors="Release Engineering Team <devops@tech.wbsrv.ru>" |
|
|
|
ARG DEBIAN_FRONTEND=noninteractive |
|
|
|
RUN set -x \ |
|
&& apt-get update \ |
|
&& apt-get install |
|
ca-certificates lsb-release curl \ |
|
&& curl -o /etc/apt/trusted.gpg.d/angie-signing.gpg \ |
|
https://angie.software/keys/angie-signing.gpg \ |
|
&& echo "deb https://download.angie.software/angie/debian/ `lsb_release \ |
|
-cs` main" > /etc/apt/sources.list.d/angie.list \ |
|
&& apt-get update \ |
|
&& apt-get install |
|
angie angie-module-geoip2 angie-module-njs \ |
|
&& apt-get remove |
|
&& rm -Rf /var/lib/apt/lists \ |
|
/etc/apt/sources.list.d/angie.list \ |
|
/etc/apt/trusted.gpg.d/angie-signing.gpg \ |
|
&& ln -sf /dev/stdout /var/log/angie/access.log \ |
|
&& ln -sf /dev/stderr /var/log/angie/error.log |
|
|
|
EXPOSE 80 |
|
|
|
CMD ["angie", "-g", "daemon off;"] |