6 Commits

Author SHA1 Message Date
2dc0b04e39 fix(docker): update to current Dockerfile formatting standards (#16)
Some checks failed
Release / Tag release (push) Successful in 9s
Release / Create Release (push) Successful in 44s
Release / Publish Docker Images (push) Failing after 1m16s
Reviewed-on: #16
2026-02-28 15:07:12 +00:00
e9a8eb75fb chore(deps): update alpine docker tag to v3.23.3 (#14)
Some checks failed
Release / Tag release (push) Successful in 11s
Release / Create Release (push) Successful in 2s
Release / Publish Docker Images (push) Failing after 48s
Co-authored-by: renovate[bot] <renovate-bot@git.tainton.uk>
Co-committed-by: renovate[bot] <renovate-bot@git.tainton.uk>
2026-01-28 01:44:54 +00:00
158aa2af32 chore(deps): update actions/checkout action to v6.0.2 (#12)
Some checks failed
Release / Tag release (push) Successful in 9s
Release / Create Release (push) Successful in 2s
Release / Publish Docker Images (push) Failing after 1m12s
Co-authored-by: renovate[bot] <renovate-bot@git.tainton.uk>
Co-committed-by: renovate[bot] <renovate-bot@git.tainton.uk>
2026-01-22 17:05:47 +00:00
7167639e79 chore(ci): enable OSV vulnerability alerts and summary in Renovate configuration (#11)
Reviewed-on: #11
2026-01-21 20:57:14 +00:00
e873c70093 Update renovate.json 2026-01-19 20:22:14 +00:00
b17cbd86e2 feat(dependencies): add Renovate configuration for dependency management
Some checks failed
Release / Tag release (push) Successful in 8s
Release / Create Release (push) Successful in 1s
Release / Publish Docker Images (push) Failing after 47s
2026-01-05 13:34:16 +00:00
4 changed files with 60 additions and 23 deletions

View File

@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v6.0.1
uses: actions/checkout@v6.0.2
with:
fetch-depth: 0
@@ -42,10 +42,10 @@ jobs:
# # command: snyk
# args: snyk code test --all-projects --exclude=.archive
- name: Snyk Vulnerability Scan
uses: snyk/actions/python@master
continue-on-error: true # Sometimes vulns aren't immediately fixable
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: test --all-projects
# - name: Snyk Vulnerability Scan
# uses: snyk/actions/python@master
# continue-on-error: true # Sometimes vulns aren't immediately fixable
# env:
# SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
# with:
# args: test --all-projects

View File

@@ -45,7 +45,7 @@ jobs:
REPO: ${{ gitea.repository }}
- name: Check out repository
uses: actions/checkout@v6.0.1
uses: actions/checkout@v6.0.2
with:
fetch-depth: 0
ref: ${{ needs.tag.outputs.tag_name }}

View File

@@ -1,20 +1,22 @@
FROM alpine:3.23.2 as build
FROM alpine:3.23.3 AS webproc
SHELL ["/bin/ash", "-o", "pipefail", "-c"]
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=8.17.0-r1 && \
curl -sL $WEBPROCURL | gzip -d - > /usr/local/bin/webproc && \
chmod +x /usr/local/bin/webproc
FROM alpine:3.23.3
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
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
RUN apk --no-cache add freeradius
LABEL org.opencontainers.image.description="FreeRADIUS server with web administration interface"
LABEL org.opencontainers.image.title="docker-radius"
SHELL ["/bin/ash", "-o", "pipefail", "-c"]
RUN apk --no-cache add freeradius=3.0.27-r2
COPY --from=webproc /usr/local/bin/webproc /usr/local/bin/webproc
ADD clients.conf /etc/raddb/clients.conf
ADD users /etc/raddb/users
ADD radiusd.conf /etc/raddb/radiusd.conf
COPY clients.conf /etc/raddb/clients.conf
COPY users /etc/raddb/users
COPY 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 1813/udp 8080/tcp

35
renovate.json Normal file
View File

@@ -0,0 +1,35 @@
{
"assignAutomerge": false,
"assigneesFromCodeOwners": false,
"dependencyDashboardAutoclose": true,
"extends": ["config:recommended", "docker:enableMajor"],
"ignorePaths": ["**/.archive/**"],
"labels": ["type/dependencies"],
"platformCommit": "enabled",
"rebaseWhen": "behind-base-branch",
"rollbackPrs": true,
"semanticCommits": "enabled",
"semanticCommitScope": "deps",
"semanticCommitType": "feat",
"osvVulnerabilityAlerts": true,
"dependencyDashboardOSVVulnerabilitySummary": "all",
"vulnerabilityAlerts": {
"commitMessagePrefix": "[SECURITY] ",
"enabled": true,
"labels": ["security"],
"prCreation": "immediate"
},
"lockFileMaintenance": {
"enabled": true
},
"packageRules": [
{
"matchDepTypes": ["devDependencies"],
"automerge": true
},
{
"matchUpdateTypes": ["patch"],
"automerge": true
}
]
}