23 lines
461 B
Docker
23 lines
461 B
Docker
FROM debian:bookworm AS base
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
apache2 \
|
|
postgresql \
|
|
unzip \
|
|
wget \
|
|
locales \
|
|
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN dpkg-reconfigure locales
|
|
|
|
FROM base AS installer
|
|
|
|
COPY . /home/dist
|
|
|
|
RUN dpkg -i /home/dist/xsquare.xreports_3.3.3.6.deb
|
|
|
|
WORKDIR /usr/local/xsquare.xreports
|
|
|
|
CMD ["/usr/local/xsquare.xreports/xreports"] |