/[LeafOK_CVS]/lbbs/Dockerfile/dockerfile.bbsd
ViewVC logotype

Contents of /lbbs/Dockerfile/dockerfile.bbsd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations)
Wed Jan 7 10:02:31 2026 UTC (2 months, 1 week ago) by sysadm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -4 lines
Update

1 # Stage for Build
2 FROM debian:13-slim AS builder
3
4 RUN apt-get update && apt-get install -y \
5 gcc make gdb autoconf automake libtool pkg-config \
6 libssh-dev libpcre2-dev libmariadb-dev libsystemd-dev \
7 php-cli php-mysql \
8 && rm -rf /var/lib/apt/lists/*
9
10 COPY ./ /home/lbbs_src
11 WORKDIR /home/lbbs_src
12
13 RUN autoreconf --install --force
14 RUN ./configure --prefix=/usr/local/lbbs \
15 && make && make install
16
17 # Stage for Runtime
18 FROM debian:13-slim
19
20 # Install locales package and generate en_US.UTF-8
21 RUN apt-get update && apt-get install -y locales \
22 && sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen \
23 && locale-gen \
24 && rm -rf /var/lib/apt/lists/*
25
26 # Set environment variables for the locale
27 ENV LANG=en_US.UTF-8
28 ENV LANGUAGE=en_US:en
29 ENV LC_ALL=en_US.UTF-8
30
31 RUN apt-get update && apt-get install -y \
32 libssh-4 libpcre2-8-0 libmariadb3 libsystemd0 \
33 php-cli php-mysql \
34 && rm -rf /var/lib/apt/lists/*
35
36 # Copy the custom configuration file
37 COPY ./Dockerfile/php.ini /usr/local/etc/php/php.ini
38
39 COPY --from=builder /usr/local/lbbs /usr/local/lbbs
40
41 WORKDIR /usr/local/lbbs

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1