mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
run dnf upgrade before installing in fedora
Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
This commit is contained in:
parent
eab3711999
commit
ebd804bfb6
4 changed files with 6 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
FROM fedora:23
|
FROM fedora:23
|
||||||
|
|
||||||
|
RUN dnf -y upgrade
|
||||||
RUN dnf install -y @development-tools fedora-packager
|
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
|
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
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
FROM fedora:24
|
FROM fedora:24
|
||||||
|
|
||||||
|
RUN dnf -y upgrade
|
||||||
RUN dnf install -y @development-tools fedora-packager
|
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
|
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
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
FROM fedora:25
|
FROM fedora:25
|
||||||
|
|
||||||
|
RUN dnf -y upgrade
|
||||||
RUN dnf install -y @development-tools fedora-packager
|
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
|
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
|
||||||
|
|
||||||
|
|
|
@ -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 "RUN yum install -y kernel-uek-devel-4.1.12-32.el6uek" >> "$version/Dockerfile"
|
||||||
echo >> "$version/Dockerfile"
|
echo >> "$version/Dockerfile"
|
||||||
;;
|
;;
|
||||||
|
fedora:*)
|
||||||
|
echo "RUN ${installer} -y upgrade" >> "$version/Dockerfile"
|
||||||
|
;;
|
||||||
*) ;;
|
*) ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue