mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
fix zypper BS wrt interactive
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
parent
b0dc11127e
commit
d265f93f6e
2 changed files with 4 additions and 4 deletions
|
@ -49,7 +49,7 @@ for version in "${versions[@]}"; do
|
||||||
;;
|
;;
|
||||||
opensuse:*)
|
opensuse:*)
|
||||||
# get rpm-build and curl packages and dependencies
|
# get rpm-build and curl packages and dependencies
|
||||||
echo 'RUN zypper install -n ca-certificates* curl gzip rpm-build' >> "$version/Dockerfile"
|
echo 'RUN zypper --non-interactive install ca-certificates* curl gzip rpm-build' >> "$version/Dockerfile"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo 'RUN yum install -y @development-tools fedora-packager' >> "$version/Dockerfile"
|
echo 'RUN yum install -y @development-tools fedora-packager' >> "$version/Dockerfile"
|
||||||
|
@ -79,7 +79,7 @@ for version in "${versions[@]}"; do
|
||||||
opensuse:*)
|
opensuse:*)
|
||||||
packages=( "${packages[@]/btrfs-progs-devel/libbtrfs-devel}" )
|
packages=( "${packages[@]/btrfs-progs-devel/libbtrfs-devel}" )
|
||||||
# use zypper
|
# use zypper
|
||||||
echo "RUN zypper install -n ${packages[*]}" >> "$version/Dockerfile"
|
echo "RUN zypper --non-interactive install ${packages[*]}" >> "$version/Dockerfile"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "RUN yum install -y ${packages[*]}" >> "$version/Dockerfile"
|
echo "RUN yum install -y ${packages[*]}" >> "$version/Dockerfile"
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
|
|
||||||
FROM opensuse:13.2
|
FROM opensuse:13.2
|
||||||
|
|
||||||
RUN zypper install -n ca-certificates* curl gzip rpm-build
|
RUN zypper --non-interactive install ca-certificates* curl gzip rpm-build
|
||||||
RUN zypper install -n libbtrfs-devel device-mapper-devel glibc-static libselinux-devel selinux-policy selinux-policy-devel sqlite-devel tar
|
RUN zypper --non-interactive install libbtrfs-devel device-mapper-devel glibc-static libselinux-devel selinux-policy selinux-policy-devel sqlite-devel tar
|
||||||
|
|
||||||
ENV GO_VERSION 1.4.2
|
ENV GO_VERSION 1.4.2
|
||||||
RUN curl -fSL "https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
|
RUN curl -fSL "https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local
|
||||||
|
|
Loading…
Reference in a new issue