32 Commits

Author SHA1 Message Date
Renovate Bot
1c1f6f2f2b chore(deps): update golang docker tag to v1.11.4 2018-12-18 01:30:45 +00:00
Łukasz Mierzwa
53b1e1ad9f build(deps): update nodejs to 10.14.2 2018-12-15 10:12:03 +00:00
Łukasz Mierzwa
dc4e6829c4 build(deps): update nodejs to 10.14.1 2018-12-03 21:06:17 +00:00
dependabot[bot]
7578e5be49 build(deps): bump golang from 1.11.1-alpine to 1.11.2-alpine
Bumps golang from 1.11.1-alpine to 1.11.2-alpine.

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-03 11:39:25 +00:00
Łukasz Mierzwa
4de1b6c68d build(deps): bump nodejs to 10.13.0
10.13.0 is the new LTS release
2018-11-02 08:36:59 +00:00
Łukasz Mierzwa
d1a101a416 chore(ui): migrate from npm to yarn
Everyone seems to support it, doesn't have same lock file generation issues, let's try it
2018-10-02 23:02:50 +01:00
dependabot[bot]
d3d22a8cca build(deps): bump golang from 1.11.0-alpine to 1.11.1-alpine
Bumps golang from 1.11.0-alpine to 1.11.1-alpine.

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-02 19:03:48 +00:00
Łukasz Mierzwa
4850a495d9 fix(docker): use nodejs 8.11.4 instead of latest 8.x 2018-09-25 20:17:56 +01:00
Łukasz Mierzwa
f0e68882f0 chore(docker): use ENTRYPOINT instead of CMD in docker
Fixes #21
2018-09-14 20:17:59 +01:00
Łukasz Mierzwa
9c16ffa447 chore(project): rename from unsee to karma
Fixes prymitive/unsee#23
2018-09-09 14:12:26 +01:00
Łukasz Mierzwa
ab35543ca4 chore(golang): use Go 1.11 when testing and building Docker images 2018-08-27 23:44:56 +01:00
Ł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