All checks were successful
Build Docker image and publish / docker (push) Successful in 14m54s
22 lines
732 B
Docker
22 lines
732 B
Docker
FROM debian:bullseye-slim
|
|
|
|
COPY FD-archive-key /usr/share/keyrings/FD-archive-key
|
|
COPY fusiondirectory.list /etc/apt/sources.list.d/
|
|
|
|
RUN apt-get update && \
|
|
apt-get dist-upgrade -y && \
|
|
apt-get install -y locales fusiondirectory=1.3-4+deb11u1 && \
|
|
apt-mark hold fusiondirectory
|
|
|
|
# IDK why but this want a second update to find the tools...
|
|
RUN apt-get update && \
|
|
apt install -y fusiondirectory-tools
|
|
|
|
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen
|
|
RUN sed -i 's~/var/www/html~/usr/share/fusiondirectory/html~' /etc/apache2/sites-enabled/000-default.conf
|
|
|
|
COPY fusiondirectory.conf /usr/share/doc/fusiondirectory/fusiondirectory.conf
|
|
COPY start.sh /root/start.sh
|
|
|
|
EXPOSE 80
|
|
CMD ["/root/start.sh"]
|