fix(docker): update to current Dockerfile formatting standards
All checks were successful
CI / ci (pull_request) Successful in 5s
Validate PR Title / validate (pull_request) Successful in 1s

This commit is contained in:
2026-02-28 14:55:20 +00:00
parent e9a8eb75fb
commit 194417de44

View File

@@ -1,15 +1,15 @@
FROM alpine:3.23.3 as build FROM alpine:3.23.3 AS build
LABEL maintainer="Luke Tainton <luke@tainton.uk>" LABEL maintainer="Luke Tainton <luke@tainton.uk>"
LABEL org.opencontainers.image.source="https://git.tainton.uk/repos/docker-radius" LABEL org.opencontainers.image.source="https://git.tainton.uk/repos/docker-radius"
FROM build as webproc FROM build AS webproc
ENV WEBPROCVERSION 0.4.0 ENV WEBPROCVERSION=0.4.0
ENV WEBPROCURL https://github.com/jpillora/webproc/releases/download/v$WEBPROCVERSION/webproc_"$WEBPROCVERSION"_linux_amd64.gz ENV WEBPROCURL=https://github.com/jpillora/webproc/releases/download/v$WEBPROCVERSION/webproc_"$WEBPROCVERSION"_linux_amd64.gz
RUN apk add --no-cache curl RUN apk add --no-cache curl
RUN curl -sL $WEBPROCURL | gzip -d - > /usr/local/bin/webproc RUN curl -sL $WEBPROCURL | gzip -d - > /usr/local/bin/webproc
RUN chmod +x /usr/local/bin/webproc RUN chmod +x /usr/local/bin/webproc
FROM build as radius FROM build
RUN apk --no-cache add freeradius RUN apk --no-cache add freeradius
COPY --from=webproc /usr/local/bin/webproc /usr/local/bin/webproc COPY --from=webproc /usr/local/bin/webproc /usr/local/bin/webproc
ADD clients.conf /etc/raddb/clients.conf ADD clients.conf /etc/raddb/clients.conf