Remove builddeps file, only use a single dnf install command in Dockerfile which includes devel-base-openmamba metapackage
This commit is contained in:
+1
-2
@@ -2,9 +2,8 @@
|
||||
FROM openmamba/openmamba:latest
|
||||
COPY rootfiles/ /
|
||||
RUN dnf update --nogpgcheck -y
|
||||
RUN dnf install --nogpgcheck -y dnf-plugins-core iputils tar sudo openmamba-unstable-repos autodist apache tini
|
||||
RUN dnf install --nogpgcheck -y dnf-plugins-core iputils tar sudo openmamba-unstable-repos autodist autodist-webbuild apache tini devel-base-openmamba
|
||||
RUN dnf config-manager --set-enabled unstable-makedist
|
||||
RUN dnf install --nogpgcheck -y $(cat /root/builddeps)
|
||||
EXPOSE 80
|
||||
ENTRYPOINT [ "/usr/bin/tini", "--" ]
|
||||
CMD [ "apachectl", "-D", "FOREGROUND" ]
|
||||
|
||||
+1
-2
@@ -3,9 +3,8 @@ FROM --platform=linux/386 openmamba/openmamba:latest
|
||||
COPY rootfiles/ /
|
||||
COPY rootfiles-i586/ /
|
||||
RUN linux32 dnf update --nogpgcheck -y
|
||||
RUN linux32 dnf install --nogpgcheck -y dnf-plugins-core iputils tar sudo openmamba-unstable-repos autodist apache tini
|
||||
RUN linux32 dnf install --nogpgcheck -y dnf-plugins-core iputils tar sudo openmamba-unstable-repos autodist autodist-webbuild devel-base-openmamba apache tini
|
||||
RUN linux32 dnf config-manager --set-enabled unstable-makedist
|
||||
RUN linux32 dnf install --nogpgcheck -y $(cat /root/builddeps)
|
||||
EXPOSE 80
|
||||
ENTRYPOINT [ "linux32", "/usr/bin/tini", "--" ]
|
||||
CMD [ "apachectl", "-D", "FOREGROUND" ]
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
devel-base-openmamba
|
||||
autodist
|
||||
autodist-webbuild
|
||||
openmamba-unstable-repos
|
||||
Reference in New Issue
Block a user