Skip to content

Commit

Permalink
yum -> dnf
Browse files Browse the repository at this point in the history
  • Loading branch information
mrauhala authored Aug 30, 2023
1 parent 956040a commit d643ac6
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ LABEL license "MIT License Copyright (c) 2023 FMI Open Development"
ENV USER_NAME="smartmet" \
GOOGLE_FONTS="Lato Noto%20Sans Open%20Sans Poppins Roboto Ubuntu"

RUN yum -y install https://download.fmi.fi/smartmet-open/rhel/8/x86_64/smartmet-open-release-latest-8.noarch.rpm && \
yum -y install epel-release && \
yum-config-manager --setopt="epel.exclude=librsvg2*" --save && \
yum-config-manager --setopt="base.exclude=librsvg2*" --save && \
yum-config-manager --setopt="epel.exclude=eccodes*" --save && \
yum-config-manager --disable epel-source && \
yum -y update && \
yum -y install \
RUN dnf -y install https://download.fmi.fi/smartmet-open/rhel/8/x86_64/smartmet-open-release-latest-8.noarch.rpm && \
dnf -y install epel-release && \
dnf config-manager --setopt="epel.exclude=librsvg2*" --save && \
dnf config-manager --setopt="base.exclude=librsvg2*" --save && \
dnf config-manager --setopt="epel.exclude=eccodes*" --save && \
dnf config-manager --disable epel-source && \
dnf -y update && \
dnf -y install \
smartmet-plugin-admin \
smartmet-plugin-autocomplete \
smartmet-plugin-backend \
Expand All @@ -22,8 +22,8 @@ RUN yum -y install https://download.fmi.fi/smartmet-open/rhel/8/x86_64/smartmet-
smartmet-plugin-wms \
smartmet-engine-grid \
unzip && \
yum -y reinstall --setopt=override_install_langs='' --setopt=tsflags='' glibc-common eccodes && \
yum clean all
dnf -y reinstall --setopt=override_install_langs='' --setopt=tsflags='' glibc-common eccodes && \
dnf clean all

# Install Google Fonts
RUN \
Expand Down

0 comments on commit d643ac6

Please sign in to comment.