Skip to content
Permalink
Browse files

docker use crystallang/crystal (#713)

  • Loading branch information...
sanderhahn authored and tj committed Sep 26, 2018
1 parent d4560b9 commit c5f75ffec627c805a356b0c5cb47a0f4f3591875
Showing with 2 additions and 2 deletions.
  1. +1 −1 config/runtimes.go
  2. +1 −1 docs/05-runtimes.md
@@ -150,7 +150,7 @@ func clojureLein(c *Config) {
// crystal config.
func crystal(c *Config) {
if c.Hooks.Build.IsEmpty() {
c.Hooks.Build = Hook{`docker run --rm -v $(pwd):/src -w /src tjholowaychuk/up-crystal crystal build --link-flags -static -o server main.cr`}
c.Hooks.Build = Hook{`docker run --rm -v $(pwd):/src -w /src crystallang/crystal crystal build -o server main.cr --release --static`}
}

if c.Hooks.Clean.IsEmpty() {
@@ -65,7 +65,7 @@ When a `main.cr` file is detected, Crystal is the assumed runtime. Note that thi
The `build` hook becomes:

```
$ docker run --rm -v $(pwd):/src -w /src tjholowaychuk/up-crystal crystal build --link-flags -static -o server main.cr
$ docker run --rm -v $(pwd):/src -w /src crystallang/crystal crystal build -o server main.cr --release --static
```

The `clean` hook becomes:

0 comments on commit c5f75ff

Please sign in to comment.
You can’t perform that action at this time.