From 50f41604da8480c2f07f00071d96c8d926f4116f Mon Sep 17 00:00:00 2001 From: Raelon Masters Date: Tue, 7 Apr 2020 10:04:14 -0400 Subject: [PATCH] Added sudo to docker install --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ad2c704..e97f9eb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM archlinux:latest RUN pacman -Syy RUN pacman -Syu --noconfirm -RUN pacman -S --noconfirm python python-pip git openssh postgresql +RUN pacman -S --noconfirm python python-pip git openssh postgresql sudo RUN sudo -u postgres initdb --locale=en_US.UTF-8 -E UTF8 -D /var/lib/postgres/data RUN systemctl enable postgresql && systemctl start postgresql RUN useradd pyshelf && chpasswd pyshelf:pyshelf