fix(docker): update to current Dockerfile formatting standards #16

Merged
luke merged 2 commits from issue-9 into main 2026-02-28 15:07:12 +00:00
Showing only changes of commit 194417de44 - Show all commits

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 org.opencontainers.image.source="https://git.tainton.uk/repos/docker-radius"
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
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 $WEBPROCURL | gzip -d - > /usr/local/bin/webproc
RUN chmod +x /usr/local/bin/webproc
FROM build as radius
FROM build
RUN apk --no-cache add freeradius
COPY --from=webproc /usr/local/bin/webproc /usr/local/bin/webproc
ADD clients.conf /etc/raddb/clients.conf