2015-12-12 14:17:30 +01:00
|
|
|
FROM ubuntu:trusty
|
|
|
|
|
2016-11-27 16:31:51 +01:00
|
|
|
EXPOSE 9991
|
|
|
|
|
2017-08-09 23:06:39 +02:00
|
|
|
RUN apt-get update && apt-get install -y wget
|
2015-12-12 14:17:30 +01:00
|
|
|
|
2016-11-20 03:52:59 +01:00
|
|
|
RUN locale-gen en_US.UTF-8
|
|
|
|
|
2015-12-12 14:17:30 +01:00
|
|
|
RUN useradd -d /home/zulip -m zulip && echo 'zulip ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
|
|
|
|
|
|
|
USER zulip
|
2016-06-17 05:04:46 +02:00
|
|
|
|
|
|
|
RUN ln -nsf /srv/zulip ~/zulip
|
|
|
|
|
2016-11-21 22:55:18 +01:00
|
|
|
RUN echo 'export LC_ALL="en_US.UTF-8" LANG="en_US.UTF-8" LANGUAGE="en_US.UTF-8"' >> ~zulip/.bashrc
|
2016-11-20 03:52:59 +01:00
|
|
|
|
2015-12-12 14:17:30 +01:00
|
|
|
WORKDIR /srv/zulip
|