fix(docker): update to current Dockerfile formatting standards
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user