3388138bb0
Build and Push Docker Image to Gitea Container Registry / build-and-push (push) Failing after 1m28s
22 lines
539 B
Docker
22 lines
539 B
Docker
FROM freeradius/freeradius-server:latest
|
|
|
|
# Install dependencies for building PostgreSQL module
|
|
RUN apt-get update && \
|
|
apt-get install -y \
|
|
git \
|
|
build-essential \
|
|
libpq-dev \
|
|
pkg-config \
|
|
autoconf \
|
|
automake \
|
|
libtool && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
# Build FreeRADIUS with PostgreSQL support
|
|
RUN cd /tmp && \
|
|
git clone --depth 1 https://github.com/FreeRADIUS/freeradius-server.git && \
|
|
cd freeradius-server && \
|
|
./configure --with-rlm-sql-postgresql && \
|
|
make && \
|
|
make install
|