deps: update freeradius to 3.0.26

This commit is contained in:
Luke Tainton (ltainton)
2023-11-26 22:37:19 +00:00
parent 63014f2400
commit 561665a534
6 changed files with 1108 additions and 445 deletions

View File

@@ -1,11 +1,11 @@
FROM alpine:3.14 as build
LABEL maintainer="David Chidell (dchidell@cisco.com)"
FROM alpine:3.18 as build
LABEL maintainer="Luke Tainton <luke@tainton.uk>"
FROM build as webproc
ENV WEBPROCVERSION 0.4.0
ENV WEBPROCURL https://github.com/jpillora/webproc/releases/download/v$WEBPROCVERSION/webproc_"$WEBPROCVERSION"_linux_amd64.gz
RUN apk add --no-cache curl
RUN curl -sL $WEBPROC_URL | gzip -d - > /usr/local/bin/webproc
RUN curl -sL $WEBPROCURL | gzip -d - > /usr/local/bin/webproc
RUN chmod +x /usr/local/bin/webproc
FROM build as radius
@@ -16,4 +16,4 @@ ADD users /etc/raddb/users
ADD radiusd.conf /etc/raddb/radiusd.conf
RUN chmod -R o-w /etc/raddb/
ENTRYPOINT ["webproc","-o","restart","-c","/etc/raddb/users","-c", "/etc/raddb/clients.conf", "-c", "/etc/raddb/radiusd.conf","--","radiusd","-f","-l","stdout"]
EXPOSE 1812/udp 8080
EXPOSE 1812/udp 8080/tcp