From 68b6fa57d7cb8dd34959009dc0f9e151dab7331f Mon Sep 17 00:00:00 2001 From: Joel Hanson Date: Sat, 23 May 2020 10:11:55 +0530 Subject: [PATCH] The -y moved to upfront --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7a77e5d..69b6473 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM ubuntu:18.04 -RUN apt-get -y update && apt-get -y upgrade && apt-get install -y gnupg2 wget +RUN apt-get -y update && apt-get -y upgrade && apt-get -y install gnupg2 wget RUN wget -q https://www.postgresql.org/media/keys/ACCC4CF8.asc -O - | apt-key add - RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main" > /etc/apt/sources.list.d/pgdg.list @@ -14,7 +14,7 @@ RUN /etc/init.d/postgresql start &&\ USER root -RUN apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev git python-psycopg2 libpq-dev +RUN apt-get -y install make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev git python-psycopg2 libpq-dev RUN curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash