Skip to content

Commit a00bc9d

Browse files
committed
rebuild dockerfiles
- bump alpine version from 3.13 to 3.21 - remove python2-dev from alpine (no longer in OS) - remove rlm_couchbase from alpine (OS has Couchbase v3, which we can't use)
1 parent a0d0b03 commit a00bc9d

File tree

17 files changed

+37
-27
lines changed

17 files changed

+37
-27
lines changed

doc/ChangeLog

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ FreeRADIUS 3.2.7 Sat 24 Aug 2024 12:00:00 UTC urgency=low
99
the "eap" module.
1010
* Change idle timeout for incoming radsec connections, to
1111
better match behavior of radsecproxy.
12+
* python2 and rlm_couchbase are no longer available in the
13+
alpine docker image.
1214

1315
Feature improvements
1416
* Print MD5 hash of the configuration files in debug mode.

scripts/docker/dists/alpine/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
#
44
# Rebuild this file with `make docker.alpine.regen`
55
#
6-
ARG from=alpine:3.13
7-
FROM ${from} as build
6+
ARG from=alpine:3.21
7+
FROM ${from} AS build
88

99
#
1010
# Install build tools
@@ -44,9 +44,9 @@ RUN apk add linux-headers
4444
RUN apk add pcre-dev libidn-dev krb5-dev samba-dev curl-dev json-c-dev
4545
RUN apk add openldap-dev unbound-dev
4646
# languages
47-
RUN apk add ruby-dev perl-dev python2-dev python3-dev
47+
RUN apk add ruby-dev perl-dev python3-dev
4848
# databases
49-
RUN apk add hiredis-dev libmemcached-dev gdbm-dev libcouchbase-dev
49+
RUN apk add hiredis-dev libmemcached-dev gdbm-dev
5050
# sql
5151
RUN apk add postgresql-dev mariadb-dev unixodbc-dev sqlite-dev
5252

@@ -80,8 +80,8 @@ RUN apk update \
8080
&& apk add libcurl json-c libldap hiredis sqlite-dev \
8181
#RUN apk add libidn krb5
8282
#RUN apk add unbound-libs
83-
#RUN apk add ruby-libs perl python2-dev python3-dev
84-
#RUN apk add libmemcached gdbm libcouchbase
83+
#RUN apk add ruby-libs perl python3-dev
84+
#RUN apk add libmemcached gdbm
8585
#RUN apk add postgresql-dev mariadb-dev unixodbc-dev
8686
\
8787
&& ln -s /opt/etc/raddb /etc/raddb

scripts/docker/dists/centos7/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Rebuild this file with `make docker.centos7.regen`
55
#
66
ARG from=centos:7
7-
FROM ${from} as build
7+
FROM ${from} AS build
88

99
#
1010
# CentOS 7 is now EOL, so we need to fix up the repo source

scripts/docker/dists/debian10/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Rebuild this file with `make docker.debian10.regen`
55
#
66
ARG from=debian:buster
7-
FROM ${from} as build
7+
FROM ${from} AS build
88

99
ARG DEBIAN_FRONTEND=noninteractive
1010

scripts/docker/dists/debian11/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Rebuild this file with `make docker.debian11.regen`
55
#
66
ARG from=debian:bullseye
7-
FROM ${from} as build
7+
FROM ${from} AS build
88

99
ARG DEBIAN_FRONTEND=noninteractive
1010

scripts/docker/dists/debian12/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Rebuild this file with `make docker.debian12.regen`
55
#
66
ARG from=debian:bookworm
7-
FROM ${from} as build
7+
FROM ${from} AS build
88

99
ARG DEBIAN_FRONTEND=noninteractive
1010

scripts/docker/dists/debiansid/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Rebuild this file with `make docker.debiansid.regen`
55
#
66
ARG from=debian:sid
7-
FROM ${from} as build
7+
FROM ${from} AS build
88

99
ARG DEBIAN_FRONTEND=noninteractive
1010

scripts/docker/dists/rocky8/Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
# Rebuild this file with `make docker.rocky8.regen`
55
#
66
ARG from=rockylinux/rockylinux:8
7-
FROM ${from} as build
7+
FROM ${from} AS build
8+
89

910
#
1011
# Install yum
@@ -59,8 +60,10 @@ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-LTB-project'\
5960
RUN rpm --import https://ltb-project.org/lib/RPM-GPG-KEY-LTB-project
6061

6162
# Enable EPEL repository for freetds and hiredis
63+
6264
RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
6365

66+
6467
# Enable powertools repo
6568
RUN yum config-manager --enable powertools
6669

@@ -107,6 +110,7 @@ FROM ${from}
107110

108111
COPY --from=build /root/rpms /tmp/
109112

113+
110114
#
111115
# Install yum
112116
#
@@ -122,8 +126,8 @@ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-LTB-project'\
122126
> /etc/yum.repos.d/ltb-project.repo \
123127
&& rpm --import https://ltb-project.org/lib/RPM-GPG-KEY-LTB-project
124128

125-
126129
# EPEL repository for freetds and hiredis
130+
127131
RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm \
128132
&& yum install -y dnf-utils \
129133
&& yum config-manager --enable powertools \

scripts/docker/dists/rocky9/Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
# Rebuild this file with `make docker.rocky9.regen`
55
#
66
ARG from=rockylinux/rockylinux:9
7-
FROM ${from} as build
7+
FROM ${from} AS build
8+
89

910
#
1011
# Install yum
@@ -49,8 +50,10 @@ RUN [ -z "$release" ] || git checkout ${release} ; \
4950
#
5051

5152
# Enable EPEL repository for freetds and hiredis
53+
5254
RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
5355

56+
5457
# Enable Code Ready Builder repo (CentOS powertools equivalent)
5558
RUN yum install -y yum-utils
5659
RUN yum config-manager --enable crb
@@ -95,14 +98,15 @@ FROM ${from}
9598

9699
COPY --from=build /root/rpms /tmp/
97100

101+
98102
#
99103
# Install yum
100104
#
101105
RUN dnf install -y yum
102106

103107

104-
105108
# EPEL repository for freetds and hiredis
109+
106110
RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm \
107111
&& yum install -y dnf-utils \
108112
&& yum config-manager --enable crb \

scripts/docker/dists/ubuntu18/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Rebuild this file with `make docker.ubuntu18.regen`
55
#
66
ARG from=ubuntu:18.04
7-
FROM ${from} as build
7+
FROM ${from} AS build
88

99
ARG DEBIAN_FRONTEND=noninteractive
1010

0 commit comments

Comments
 (0)