mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Docker: Fix installation, remove pip, simplify sshd
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
12911a101e
commit
acc100eb52
2 changed files with 13 additions and 23 deletions
|
@ -18,7 +18,7 @@ RUN pacman -Syu --noconfirm --noprogressbar \
|
|||
python-pytest-asyncio python-coverage hypercorn python-bcrypt \
|
||||
python-email-validator openssh python-lxml mariadb mariadb-libs \
|
||||
python-isort flake8 cgit uwsgi uwsgi-plugin-cgi php php-fpm \
|
||||
python-asgiref uvicorn python-pip python-wheel
|
||||
python-asgiref uvicorn
|
||||
|
||||
RUN useradd -U -d /aurweb -c 'AUR User' aur
|
||||
|
||||
|
@ -28,8 +28,4 @@ WORKDIR /aurweb
|
|||
COPY . .
|
||||
|
||||
RUN make -C po all install
|
||||
RUN pip3 install -t /aurweb/app --upgrade -I .
|
||||
|
||||
# Set permissions on directories and binaries.
|
||||
RUN bash -c 'find /aurweb/app -type d -exec chmod 755 {} \;'
|
||||
RUN chmod 755 /aurweb/app/bin/*
|
||||
RUN python3 setup.py install --install-scripts=/usr/local/bin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue