mirror of https://github.com/zulip/zulip.git
20 lines
382 B
Docker
20 lines
382 B
Docker
FROM ubuntu:trusty
|
|
|
|
EXPOSE 9991
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
python-pbs \
|
|
wget
|
|
|
|
RUN locale-gen en_US.UTF-8
|
|
|
|
RUN useradd -d /home/zulip -m zulip && echo 'zulip ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
|
|
|
USER zulip
|
|
|
|
RUN ln -nsf /srv/zulip ~/zulip
|
|
|
|
RUN echo 'export LC_ALL="en_US.UTF-8" LANG="en_US.UTF-8" LANGUAGE="en_US.UTF-8"' >> ~zulip/.bashrc
|
|
|
|
WORKDIR /srv/zulip
|