mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Added sudo to docker install
This commit is contained in:
2
Dockerfile
vendored
2
Dockerfile
vendored
@@ -1,7 +1,7 @@
|
|||||||
FROM archlinux:latest
|
FROM archlinux:latest
|
||||||
RUN pacman -Syy
|
RUN pacman -Syy
|
||||||
RUN pacman -Syu --noconfirm
|
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 sudo -u postgres initdb --locale=en_US.UTF-8 -E UTF8 -D /var/lib/postgres/data
|
||||||
RUN systemctl enable postgresql && systemctl start postgresql
|
RUN systemctl enable postgresql && systemctl start postgresql
|
||||||
RUN useradd pyshelf && chpasswd pyshelf:pyshelf
|
RUN useradd pyshelf && chpasswd pyshelf:pyshelf
|
||||||
|
|||||||
Reference in New Issue
Block a user