Skip to content

Commit

Permalink
allow string interpolation for the entrypoints property in docker com…
Browse files Browse the repository at this point in the history
…pose (#319)
  • Loading branch information
khoaHyh authored Aug 31, 2023
1 parent 9b87268 commit 1b994ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions registry/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,9 @@ func readServices(op errors.Op, r Registry, opts readServicesOptions) (serviceGl
for i, volume := range s.Remote.Volumes {
s.Remote.Volumes[i].Value = ve.expand(volume.Value, "remote.volumes")
}
for i, value := range s.Entrypoint {
s.Entrypoint[i] = ve.expand(value, "entrypointValue")
}

// Report unknown vars as an error if in strict mode
if len(ve.errMsgs) > 0 && opts.strict {
Expand Down

0 comments on commit 1b994ab

Please sign in to comment.