217 Commits

Author SHA1 Message Date
Tim Abbott
f8d277d615 Update versions for Zulip Server 2.0.5. 2019-09-11 16:40:43 -07:00
Anders Kaseorg
4be9b8eafe Dockerfile: Upgrade to Ubuntu 18.04 bionic; general cleanup.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-08-21 16:25:56 -07:00
Tim Abbott
fc83b6d378 Update versions for Zulip Server 2.0.4. 2019-06-06 21:53:10 -07:00
Tim Abbott
a8ed936e82 Update versions for Zulip Server 2.0.3. 2019-04-23 15:10:18 -07:00
Tim Abbott
d64bbe80d0 Update versions for Zulip 2.0.2. 2019-03-15 11:57:20 -07:00
Tim Abbott
0a3e862f31 Update versions for Zulip 2.0.1. 2019-03-11 17:52:18 -07:00
Tim Abbott
4f5d3e85b8 Update versions for Zulip 2.0. 2019-03-01 15:08:56 -08:00
Tim Abbott
f51944994f docker: Release 1.9.0-0. 2018-11-07 14:01:35 -08:00
Tim Abbott
80e41d0ca5 docker: Release 1.9.0-rc2-0.
This includes a few recent fixes to the Docker image, as well as a
newer release candidate of Zulip itself.
2018-08-31 16:31:14 -07:00
xificurC
30f518c2ee Dockerfile: Install crudini.
The first container doesn't install it and fails when using the
CUSTOM_CA_CERTIFICATES environment variable.
2018-08-31 11:00:10 -07:00
xificurC
edbc1522bd Dockerfile: Use bash in both stages of the Dockerfile. 2018-08-30 11:08:56 -07:00
Tim Abbott
62bf74190b Dockerfile: Delete build-time settings and secrets files.
Since these files are intended to be automatically generated by
entrypoint.sh at container startup time, these files are at best
useless and at worst could result in users ending up with copies of
the secrets generated when the Docker image they were using was built.
2018-08-23 13:16:56 -07:00
xificurC
ade00d5135 docker: Allow using a custom CA bundle for building the Zulip image. 2018-08-13 15:47:37 -07:00
Tim Abbott
b2f3ab2efc Use bash as the shell.
This in particular lets us set `-u pipefail` to have better error
handling.
2018-08-13 15:28:57 -07:00
Tim Abbott
4b89ae5d77 docker: Upgrade docker-zulip to Zulip 1.9.0-rc1.
This docker image has only really supported Git leading up to Zulip
1.9 for a while now.  Now that there's a release candidate out, it
makes sense to declare that explicitly.

This commit will be tagged 1.9.0-rc1-0.
2018-08-09 17:27:06 -07:00
Tim Abbott
178ac3956a Dockerfile: Do an apt-get update before the upgrade.
The previous split interacted badly with caching if you reran the
build a few days after a previous build.
2018-08-09 17:27:06 -07:00
xificurC
71ac8fec01 Dockerfile: Ad -x to shell commands.
This makes `RUN` commands auto-print each shell command making it
easier to follow the build process.
2018-08-03 09:38:22 -07:00
xificurC
5583144c9d docker: change zulip ENVs to ARGs for easier updating.
This way, only the compose file needs to be touched which is more in
line with other configuration options.
2018-08-03 09:37:09 -07:00
jeaye
3b5d63b9ba setup: Add certbot support.
The task is to generate a self-signed cert so Zulip can be started, then
to wait until Zulip is up before using certbot to generate new certs.
Zulip needs to be up so it can meet certbot's challenge. Using a deploy
hook, certs are persisted in the data directory. The same applies to
renewal.

Tweaked by tabbott mostly to edit comments remove an unnecessary
setting before merging.

Fixes #120.
2018-07-23 22:29:10 -07:00
Sampriti Panda
d3c32ab0c1 Remove setup_files/ and related code from docker-compose.
This removes the fork of the core Zulip nginx configuration file that
we were maintaining in the docker-zulip project; doing so improves the
maintainability of this project for the future, since we don't need to
check on every Zulip upgrade whether we've made any changes to the
`nginx` package in zulip/zulip.

The only feature we were using that for was the DISABLE_HTTPS setting
in docker-zulip, and it's now possible to do that by editing
zulip.conf instead.

Fixes #114.
2018-07-10 12:22:41 +05:30
Sampriti Panda
de7b59b352 entrypoint: Add call to zulip-puppet-apply for nginx config.
First, we stop deleting the `puppet` directory, which is important for
being able to run `zulip-puppet-apply` inside the container (super
useful for debugging).

Second, we call this inside the code block for the `nginx` option, in
order to support the `DISABLE_HTTPS` option working without any copied
nginx configuration code in docker-zulip.

See #137 for how we could optimize this away.
2018-07-10 12:20:24 +05:30
Tim Abbott
d00ed15957 Remove now-unnecessary Python dependency installations.
2655ece96f6ad424c21ca44a56d3533c59b7bd0d in zulip.git fixed the fact
that we needed to install these manually here.
2018-05-20 07:54:27 -07:00
Tim Abbott
18a8d725cb Dockerfile: Remove unnecessary build-essential package.
Zulip's install script will install this if needed already.
2018-05-20 07:54:27 -07:00
Tim Abbott
fd45e3c303 Rewrite Dockerfile as a 2-stage build.
This makes it much simpler for us to keep the total installation size
of the docker image nice and small, and means we can avoid installing
a static asset compiler into the production image.
2018-05-20 07:54:27 -07:00
Jason Michalski
0f07e4c97e Remove custom RabbitMQ bootstrapping
The rabbitmq image has support for creating a user and granting the
permissions Zulip requires. This makes the bootstrapRabbitMQ step which
runs in the zulip container redundant so we can remove it. This script
was also the only reverse dependency of rabbitmqctl so rabbitmq-server
can be removed as well.
2018-05-16 15:08:08 -07:00
Tully Rankin
1fc68a49d3 docker: Merge docker RUN commands in Dockerfile.
Merge the docker RUN commands into single RUN command to decrease the
size of the built image.
2018-05-15 16:04:16 -07:00
Tully Rankin
868544b681 docker: Improve styling in Dockerfile.
Improve the styling of export variables in the Dockerfile.
2018-05-15 16:04:16 -07:00
Tully Rankin
098245cb66 Remove createZulipRealm.sh and update README to use manage.py via docker-compose. 2018-05-15 15:20:35 -07:00
Tully Rankin
044180ddbe docker: Update Dockerfile to pull in Zulip source from Github.
Update the Dockerfile to pull in Zulip source from Github. This allows
you to specify a branch, tag, or commit ref to build the Zulip docker
image from.

Fixes #102.
2018-05-15 15:20:35 -07:00
Alexander Trost
540d9b0cc8 prepare tag 1.8.1-0 2018-05-08 11:39:42 +02:00
Bryan Larsen
0a5522f64d resurrect DISABLE_HTTPS option
There used to be a DISABLE_HTTPS setting.   I'm not sure why it was removed, but I need it so I can use Zulip behind a Kubernetes Ingress without causing an infinite redirect.
2018-04-20 18:16:00 +00:00
Alexander Trost
2d6ca41d70 Fixed issue with Zulip install script 2018-04-18 09:44:51 +02:00
Alexander Trost
92d25b2a42 Don't upgrade package installed pip 2018-04-18 09:03:10 +02:00
Alexander Trost
7a4d573c6b Updated Zulip to version 1.8.0 2018-04-18 08:43:37 +02:00
Alexander Trost
5bbb6ca8b8 Prepare 1.7.2 release 2018-04-12 20:59:16 +02:00
Alexander Trost
8cc22e62dc Dockerfile: Replaced MAINTAINER with LABEL 2018-02-26 11:34:34 +01:00
Alexander Trost
034deae4aa Updated baseimage to ubuntu:xenial-20171114 2017-11-23 07:48:17 +01:00
Alexander Trost
04af3b1627 Update to Zulip version 1.7.1 2017-11-23 07:46:42 +01:00
Alexander Trost
9b725ad2e4 Removed the modified version of process_fts-updates 2017-11-08 14:56:20 +01:00
Alexander Trost
bb10045262 Corrected permission for createZulipRealm.sh 2017-11-08 13:49:41 +01:00
Alexander Trost
d8c08751ab Removed createZulipAdmin script 2017-11-08 12:14:24 +01:00
Alexander Trost
bee47b7d27 Make /bin/true symlink for nginx init.d file 2017-11-02 10:50:57 +01:00
Alexander Trost
deae867a1b Added modified zulip nginx manifest 2017-11-01 23:41:42 +01:00
Alexander Trost
3347412847 Update to Ubuntu Xenial 2017-11-01 22:48:50 +01:00
Alexander Trost
baa9ed92a7 cut version 1.7.0-0 2017-10-26 11:44:35 +02:00
rht
98572988ca Dockerfile: Remove unnecessary python-pbs dependency.
This hasn't been a dependency of Zulip's provision for over a year.
eeb5302ba1
2017-08-11 07:38:01 +02:00
Alexander Trost
436bae0229 Update to Zulip 1.6.0 2017-06-07 08:38:32 +02:00
Alexander Trost
989fa444fc Update to version 1.5.2-0
Zulip version is normal version
2017-06-02 12:55:03 +02:00
Alexander Trost
c58f94789c Renamed the entrypoint 2017-04-17 18:26:51 +02:00
Alexander Trost
91820cffaa Added env vars: MANUAL_CONFIGURATION and LINK_SETTINGS_TO_DATA
The default is now to not link the settings folder to the data volume
2017-03-21 17:24:10 +01:00