Skip to content

Commit

Permalink
fixup! Add support for CentOS Stream 9
Browse files Browse the repository at this point in the history
Signed-off-by: adarshan-intel <adarsh.anand@intel.com>
  • Loading branch information
adarshan-intel committed Jul 11, 2024
1 parent 35e9800 commit 37e0cd4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions templates/centos/stream/Dockerfile.build.template
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
# This is because each Dockerfile command creates a new layer which necessarily adds size to the
# final image. This trick allows to decrease the image size by hundreds of MBs.

RUN dnf distro-sync -y && dnf install 'dnf-command(config-manager)' -y

RUN dnf config-manager --set-enabled -y crb && \
dnf install -y \
RUN dnf distro-sync -y \
&& dnf install 'dnf-command(config-manager)' -y \
&& dnf config-manager --set-enabled -y crb \
&& dnf install -y \
binutils \
epel-release \
openssl \
Expand Down
8 changes: 4 additions & 4 deletions templates/centos/stream/Dockerfile.compile.template
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

# NOTE: meson v1.2.* has a bug that leads to Gramine build failure because of not found `libcurl.a`

RUN dnf distro-sync -y && dnf install 'dnf-command(config-manager)' -y

RUN dnf config-manager --set-enabled -y crb && \
dnf install -y \
RUN dnf distro-sync -y \
&& dnf install 'dnf-command(config-manager)' -y \
&& dnf config-manager --set-enabled -y crb \
&& dnf install -y \
autoconf \
binutils \
bison \
Expand Down

0 comments on commit 37e0cd4

Please sign in to comment.