Commit graph

22 commits

Author SHA1 Message Date
lstellway
c7729a0432
Adds image labels to connect package with repository 2023-09-07 12:46:45 -07:00
İlteriş Yağıztegin Eroğlu
77cc1cc816 fix Makefile and Dockerfile to build on latest go versions
Signed-off-by: İlteriş Yağıztegin Eroğlu <ilteris.eroglu@trendyol.com>
2023-01-20 11:36:11 +00:00
mathew
6903dd4349 Replace go-bindata with standard go:embed 2022-12-24 17:59:19 -06:00
davralin
59767804a9
Revert build 2022-05-25 18:45:59 +02:00
davralin
dec0142a5b
Update Dockerfile 2022-05-25 18:43:13 +02:00
Micha Gläß-Stöcker
a58180543e fix Dockerfile, nodejs-npm was renamed in alpine to npm 2021-08-08 22:27:33 +02:00
Matt Baer
73e0b72878 Fix release build
This forces xgo to use Go 1.15, to work around a bug with Go modules:
https://github.com/techknowlogick/xgo/issues/109#issuecomment-835494720

This also uses the correct Darwin and Windows binary names to prevent
failures in the `make release` process.
2021-05-10 13:08:49 -04:00
Matt Baer
484d2736ce Update repo URL to writefreely org
From the writeas org on GitHub.
2021-04-06 17:24:07 -04:00
Conor Flynn
0eb1a2deec Fixes broken Docker/docker-compose structures.
Updates versions and uses maria DB instead of sqlite in the
docker-compose. Also fixes things related to networks, generating
config, etc.
2020-10-26 13:50:11 +00:00
Shlee
7d15b799f0
Update Dockerfile 2020-02-15 23:27:13 +08:00
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