dockerfile: change to alpine base and cleanup

This makes the image a lot smaller and it's using an official image
as the base to make sure we get security updates etc.

The image size went from:

```
REPOSITORY                      SIZE
gcr.io/google-samples/k8sdocs	837 MB

```

To:

```
REPOSITORY                      SIZE
gcr.io/google-samples/k8sdocs	227 MB
```

Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
Jess Frazelle
2016-12-02 14:13:32 -08:00
parent f5c876845d
commit cf65f25ca9
2 changed files with 24 additions and 4 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
set -e
set -x
bundle
bundle exec jekyll clean
bundle exec jekyll serve -H 0.0.0.0 -P 4000