Added sudo to docker install

This commit is contained in:
Raelon Masters
2020-04-07 10:04:14 -04:00
parent b27ef2b0c1
commit 50f41604da

2
Dockerfile vendored
View File

@@ -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