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

Annotation of /lbbs/Dockerfile/dockerfile.bbsd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Mon Jan 5 05:42:59 2026 UTC (2 months, 1 week ago) by sysadm
Branch: MAIN
Add Docker config files

1 sysadm 1.1 FROM debian:latest
2    
3     ARG LBBS_HOME_DIR=/usr/local/lbbs
4    
5     # Install locales package and generate en_US.UTF-8
6     RUN apt-get update && apt-get install -y locales && \
7     sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
8     locale-gen
9    
10     # Set environment variables for the locale
11     ENV LANG=en_US.UTF-8
12     ENV LANGUAGE=en_US:en
13     ENV LC_ALL=en_US.UTF-8
14    
15     RUN apt-get update && apt-get install -y \
16     gcc make gdb autoconf automake libtool pkg-config \
17     libssh-dev libpcre2-dev libmariadb-dev libsystemd-dev \
18     php-cli php-mysql
19    
20     # Copy the custom configuration file
21     COPY ./Dockerfile/php.ini /usr/local/etc/php/php.ini
22    
23     RUN mkdir -p ${LBBS_HOME_DIR}
24    
25     COPY ./ /home/lbbs_src
26     WORKDIR /home/lbbs_src
27    
28     RUN autoreconf --install --force
29     RUN ./configure --prefix=${LBBS_HOME_DIR} && \
30     make && \
31     make install
32    
33     WORKDIR ${LBBS_HOME_DIR}

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