Skip to content

Commit

Permalink
Tidy up.
Browse files Browse the repository at this point in the history
  • Loading branch information
highperformancecoder committed Jan 11, 2025
1 parent 83c2af4 commit 4e7c1e4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions obsCheck/Dockerfile-fedora
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@ ARG version=36
FROM fedora:$version
ARG project=minsky
ARG version
ARG repo=https://download.opensuse.org/repositories/home:/hpcoder1/Fedora_$version/home:hpcoder1.repo
ADD . /root
RUN dnf install -y 'dnf-command(config-manager)' util-linux
#RUN dnf install -y yum-config-manager util-linux
#RUN dnf config-manager add-repo --from-repofile=https://download.opensuse.org/repositories/home:/hpcoder1/Fedora_$version/home:hpcoder1.repo
#RUN yum-config-manager --add-repo=https://download.opensuse.org/repositories/home:/hpcoder1/Fedora_$version/home:hpcoder1.repo

# handle dnf syntax change
ARG repo=https://download.opensuse.org/repositories/home:/hpcoder1/Fedora_$version/home:hpcoder1.repo
RUN <<EOF
if [ $version -le 40 ]; then
dnf config-manager --add-repo $repo
Expand Down

0 comments on commit 4e7c1e4

Please sign in to comment.