Commit Graph

21 Commits

Author SHA1 Message Date
Łukasz Mierzwa
a4a20ea3ef feat(ui): new UI written in React 2018-07-19 23:38:11 +02:00
Łukasz Mierzwa
8715277fd6 chore(go): use Go 1.10.3 2018-07-05 23:19:04 +02:00
Łukasz Mierzwa
7909dcdfff Use Go 1.10.2 2018-06-07 16:16:18 +02:00
Łukasz Mierzwa
b71883f1ef Migrate to new repo
Forked unsee from cloudflare, so import paths needs to be updated
2018-06-07 15:30:57 +02:00
Łukasz Mierzwa
c121e2e654 Use Go 1.10.1 2018-04-18 09:57:50 -07:00
Łukasz Mierzwa
7629813add Use Go 1.10
Use Go 1.10 when testing/releasing on Travis and building docker images
2018-02-16 21:42:14 +00:00
Łukasz Mierzwa
ffa0caf6eb Split build into NodeJS and Go parts
Go docker image uses old nodejs, split build into 2 stages so we can have better control over used nodejs and Go images
2017-12-05 09:23:18 -08:00
Łukasz Mierzwa
6918b781a4 Use Go 1.9.2 for docker image builds 2017-11-20 15:19:38 -08:00
Łukasz Mierzwa
b91f14f239 Use Go 1.9.1 for docker builds 2017-10-14 22:43:06 -07:00
Łukasz Mierzwa
c6ffb26cb8 Use Go 1.9.0 for docker builds 2017-08-24 22:13:28 -07:00
Łukasz Mierzwa
2a76843700 Use Docker multi-stage builds to reduce final docker image size
For second stage use https://github.com/GoogleCloudPlatform/distroless which provides a minimal image with CA certificates.
Binary is compiled with CGO_ENABLED=0 to prevent dynamical linking to any libraries.
2017-08-22 19:31:56 -07:00
Łukasz Mierzwa
98c0c8706a Docker Hub doesn't support multi-stage builds yet
https://github.com/docker/hub-feedback/issues/1039
2017-08-09 12:13:02 -07:00
Łukasz Mierzwa
971d48f3d7 Use make targets in the dockerfile
By dropping vendor & bindata.go from git unsee is no longer go installable, and realistically it won't be, because the build pipeline is big and involves multiple tools.
Let's just use make targets we use for development when building docker image.
2017-08-09 11:24:08 -07:00
Łukasz Mierzwa
03e7521c5b Use Go 1.8.3 for building docker images 2017-06-01 10:48:43 -07:00
Łukasz Mierzwa
a15f6eb914 Use COPY instead of ADD for files and folders 2017-05-30 12:51:05 +01:00
Łukasz Mierzwa
4e32acf3f6 Use Go 1.8.1 when building docker image 2017-04-15 00:01:28 -07:00
David J. M. Karlsen
4e2a9f1df2 add EXPOSE 2017-03-29 08:30:52 +02:00
Łukasz Mierzwa
9ce559d5d1 Use Go 1.8 for the base image
Current image uses Go 1.7.5, there was an issue with haml templates preventing us from using 1.8 but it was fixed, so we should switch to latest Go version
2017-03-26 19:00:16 -07:00
Łukasz Mierzwa
dc1ce44cfb Merge Dockerfile commands
This will help avoid unnecessary image layers
2017-03-26 17:41:17 -07:00
Łukasz Mierzwa
f8420d4632 Use go-bindata-assetfs for static files
This allows unsee to be compiled into a single self-contained binary, without any need to external static files or templates
2017-03-26 17:41:17 -07:00
Łukasz Mierzwa
e239fd05fd Import code from internal repository (#1)
Import code from internal repository
2017-03-23 16:58:04 -07:00