Skip to content

Commit 611d063

Browse files
committed
Update to configure args to ensure the image works with multi-server tests.
1 parent 740cb97 commit 611d063

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

scripts/docker/m4/profiling.deb.m4

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ RUN /profiling/configure.sh
88
RUN make
99
RUN make install
1010

11-
# Make sure freeradius can also be used to run server
11+
# Mirror the package image: both binary names and both config dir paths work
1212
RUN ln -s /usr/local/sbin/radiusd /usr/local/sbin/freeradius
13+
RUN ln -s /etc/freeradius/radiusd.conf /etc/freeradius/freeradius.conf
14+
RUN ln -s /etc/freeradius /etc/raddb
1315

1416
WORKDIR /
1517
COPY scripts/docker/etc/docker-entrypoint.sh.PKG_TYPE docker-entrypoint.sh

scripts/docker/profiling/profiles/profiling1/configure.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
./configure \
33
--enable-developer \
44
--disable-verify-ptr \
5-
--sysconfdir=/etc \
5+
--with-raddbdir=/etc/freeradius \
66
CFLAGS="-g3 -O1 -fno-omit-frame-pointer" \
77
LDFLAGS="-fno-omit-frame-pointer"

0 commit comments

Comments
 (0)