Skip to content

Commit

Permalink
run dnf upgrade before installing in fedora
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
  • Loading branch information
andrewhsu committed Dec 5, 2016
1 parent eab3711 commit ebd804b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions contrib/builder/rpm/amd64/fedora-23/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

FROM fedora:23

RUN dnf -y upgrade
RUN dnf install -y @development-tools fedora-packager
RUN dnf install -y btrfs-progs-devel device-mapper-devel glibc-static libseccomp-devel libselinux-devel libtool-ltdl-devel pkgconfig selinux-policy selinux-policy-devel sqlite-devel systemd-devel tar git cmake vim-common

Expand Down
1 change: 1 addition & 0 deletions contrib/builder/rpm/amd64/fedora-24/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

FROM fedora:24

RUN dnf -y upgrade
RUN dnf install -y @development-tools fedora-packager
RUN dnf install -y btrfs-progs-devel device-mapper-devel glibc-static libseccomp-devel libselinux-devel libtool-ltdl-devel pkgconfig selinux-policy selinux-policy-devel sqlite-devel systemd-devel tar git cmake vim-common

Expand Down
1 change: 1 addition & 0 deletions contrib/builder/rpm/amd64/fedora-25/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

FROM fedora:25

RUN dnf -y upgrade
RUN dnf install -y @development-tools fedora-packager
RUN dnf install -y btrfs-progs-devel device-mapper-devel glibc-static libseccomp-devel libselinux-devel libtool-ltdl-devel pkgconfig selinux-policy selinux-policy-devel sqlite-devel systemd-devel tar git cmake vim-common

Expand Down
3 changes: 3 additions & 0 deletions contrib/builder/rpm/amd64/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ for version in "${versions[@]}"; do
echo "RUN yum install -y kernel-uek-devel-4.1.12-32.el6uek" >> "$version/Dockerfile"
echo >> "$version/Dockerfile"
;;
fedora:*)
echo "RUN ${installer} -y upgrade" >> "$version/Dockerfile"
;;
*) ;;
esac

Expand Down

0 comments on commit ebd804b

Please sign in to comment.