Commit graph

12 commits

Author SHA1 Message Date
kaiyou
70f754e8af Install the writefreely cmd properly 2019-04-19 13:05:01 +02:00
kaiyou
402e9e822c Fix the build in Docker after enabling go modules
Enabling go modules requires that GO111MODULE is set, so
we set it as an environment variable in the Dockerfile.

Also, go-bindata is meant to be installed globally, so we
force the install before enabling Go modules. Also, we update
Go to 1.12 to fix a couple module builds.
2019-04-19 12:55:54 +02:00
kaiyou
8ead0a9d09 Deploy the app in the proper dir for dependency management 2019-01-16 21:05:52 +01:00
Matt Baer
a686b61902 make assets before everything in Docker build 2019-01-07 20:39:42 -05:00
Matt Baer
64a8e2d0a5 Exclude unneeded schema.sql in docker build 2019-01-07 19:22:12 -05:00
Matt Baer
fe98bd58fc make assets during docker build 2019-01-07 19:21:55 -05:00
kaiyou
38184f4d13 Fix the Docker build when installing go-sqlite
Go-SQLite requires sqlite library headers and gcc.
2018-12-16 20:49:27 +01:00
kaiyou
d01d2c80b6 Add openssl and root anchors for federation queries 2018-12-05 13:33:53 +01:00
Brad Koehn
6f0c7aed66 removed an unnecessary debugging statement 2018-11-22 06:57:05 -06:00
Brad Koehn
f2a07db23a switched to much smaller alpine image since golang not required at runtime 2018-11-21 12:51:37 -06:00
Brad Koehn
5039853edc Updated Dockerfile to produce smaller image with minimum content and a few extra features; added .dockerignore 2018-11-21 10:38:56 -06:00
Jean-Francois Arseneau
5b393309a5 Add Dockerfile and Docker Compose files
This adds the first version of a Dockerfile, built on an Alpine Linux variation of the golang image, as well as a Docker Compose file that spins up both a MariaDB and the instance. It also updates the README with instructions on how to get Write Freely running with this setup.
2018-11-13 20:24:06 -08:00