Commit 7bda84e1 authored by Eteri's avatar Eteri

caddy: add gowork

parent 9e215760
...@@ -4,12 +4,17 @@ extends = ...@@ -4,12 +4,17 @@ extends =
../../stack/slapos.cfg ../../stack/slapos.cfg
parts = parts =
gowork
golang19 golang19
slapos-cookbook slapos-cookbook
instance-profile instance-profile
template-caddy template-caddy
caddy caddy
[gowork]
install =
github.com/mholt/caddy/caddy
[instance-profile] [instance-profile]
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg.in url = ${:_profile_base_location_}/instance.cfg.in
...@@ -48,7 +53,7 @@ mode = 0644 ...@@ -48,7 +53,7 @@ mode = 0644
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
path = ${caddy-repository:location} path = ${caddy-repository:location}
go = ${golang19:location}/bin/go go = ${golang19:location}/bin/go
configure-command = cd ${:path}/caddy && ${:go} get -v #configure-command = cd ${:path}/caddy && ${:go} get -v
make-targets = make-targets =
make-binary = cd ${:path}/caddy && ${:go} install -v make-binary = cd ${:path}/caddy && ${:go} install -v
environment = environment =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment