mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Docker: remove web/locale from volume mounts
This caused a bug where generated locale would not be used. Also, removed appending to /etc/hosts which was bugging out on Mac OS X. archlinux:base-devel seems to come with a valid /etc/hosts. Additionally, remove AUR_CONFIG from Dockerfile. We don't set it up; just use the defaults during installation. Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
ff3519ae11
commit
9ee7be4a1c
2 changed files with 21 additions and 10 deletions
|
@ -1,8 +1,6 @@
|
|||
FROM archlinux:base-devel
|
||||
|
||||
# Setup some default system stuff.
|
||||
RUN bash -c 'echo "127.0.0.1 localhost" >> /etc/hosts'
|
||||
RUN bash -c 'echo "::1 localhost" >> /etc/hosts'
|
||||
RUN ln -sf /usr/share/zoneinfo/UTC /etc/localtime
|
||||
|
||||
RUN mkdir -p .pkg-cache
|
||||
|
@ -28,6 +26,5 @@ WORKDIR /aurweb
|
|||
COPY . .
|
||||
|
||||
ENV PYTHONPATH=/aurweb
|
||||
ENV AUR_CONFIG=conf/config
|
||||
|
||||
RUN make -C po all install
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue