1
0
Fork 0
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:
Jessica Frazelle 2015-09-23 04:48:06 -07:00
parent b0dc11127e
commit d265f93f6e
No known key found for this signature in database
GPG key ID: 18F3685C0022BFF3
2 changed files with 4 additions and 4 deletions

View file

@ -49,7 +49,7 @@ for version in "${versions[@]}"; do
;;
opensuse:*)
# 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"
@ -79,7 +79,7 @@ for version in "${versions[@]}"; do
opensuse:*)
packages=( "${packages[@]/btrfs-progs-devel/libbtrfs-devel}" )
# 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"

View file

@ -4,8 +4,8 @@
FROM opensuse:13.2
RUN zypper install -n 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 ca-certificates* curl gzip rpm-build
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
RUN curl -fSL "https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz" | tar xzC /usr/local