Skip to content

Commit

Permalink
Fix noninteractive error when docker building
Browse files Browse the repository at this point in the history
  • Loading branch information
netroby committed Mar 14, 2015
1 parent 93a1b7e commit d095dd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM golang:1.4-wheezy

# Install Vitess build dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
automake \
bison \
bzip2 \
Expand All @@ -26,7 +26,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
# Install MariaDB 10.0.x
RUN apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db && \
add-apt-repository 'deb http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.0/debian wheezy main' && \
apt-get update && apt-get install -y mariadb-server libmariadbclient-dev
apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y mariadb-server libmariadbclient-dev

# Load files from directory containing Dockerfile
COPY . /vt/src/github.com/youtube/vitess
Expand Down

0 comments on commit d095dd4

Please sign in to comment.