mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Bumps fedora from `5ce8497` to `d0207db`. --- updated-dependencies: - dependency-name: fedora dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
30 lines
971 B
Text
30 lines
971 B
Text
FROM fedora:40@sha256:d0207dbb078ee261852590b9a8f1ab1f8320547be79a2f39af9f3d23db33735e
|
|
|
|
ENV container docker
|
|
ENV NGINX_VERSION 1.26.2
|
|
|
|
RUN dnf -y update \
|
|
&& dnf -y install systemd \
|
|
&& dnf clean all
|
|
|
|
RUN cd /lib/systemd/system/sysinit.target.wants/; \
|
|
for i in *; do [ $i = systemd-tmpfiles-setup.service ] || rm -f $i; done
|
|
|
|
RUN rm -f /lib/systemd/system/multi-user.target.wants/* \
|
|
/etc/systemd/system/*.wants/* \
|
|
/lib/systemd/system/local-fs.target.wants/* \
|
|
/lib/systemd/system/sockets.target.wants/*udev* \
|
|
/lib/systemd/system/sockets.target.wants/*initctl* \
|
|
/lib/systemd/system/basic.target.wants/* \
|
|
/lib/systemd/system/anaconda.target.wants/*
|
|
|
|
# Nginx
|
|
RUN dnf update -y && \
|
|
dnf install -y php-fpm curl gnupg2 ca-certificates redhat-lsb-core python3-pip which && \
|
|
dnf install --enablerepo=updates-testing nginx-${NGINX_VERSION} -y
|
|
|
|
COPY ./package-fedora/*.rpm /opt
|
|
|
|
VOLUME ["/sys/fs/cgroup"]
|
|
|
|
CMD ["/usr/sbin/init"]
|