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
|
|
|
|
2018-10-11 23:40:58 +02:00
|
|
|
RUN localedef -i en_US -f UTF-8 en_US.UTF-8
|
2016-11-20 03:52:59 +01:00
|
|
|
|
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
|
|
|
|
|
2019-01-23 20:05:58 +01:00
|
|
|
RUN echo 'export LC_ALL="en_US.UTF-8" LANG="en_US.UTF-8" LANGUAGE="en_US.UTF-8"' >> ~zulip/.bash_profile
|
2016-11-20 03:52:59 +01:00
|
|
|
|
2015-12-12 14:17:30 +01:00
|
|
|
WORKDIR /srv/zulip
|