Skip to content

Commit

Permalink
Auto-yes when installing nsis deps
Browse files Browse the repository at this point in the history
  • Loading branch information
dsotirakis committed Dec 18, 2023
1 parent c0a7868 commit cbe4740
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion exe/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func Builder(d *dagger.Client) (*dagger.Container, error) {

debian := d.Container().From("debian:sid").
WithExec([]string{"apt-get", "update", "-yq"}).
WithExec([]string{"apt-get", "install", "tar", "nsis"})
WithExec([]string{"apt-get", "install", , "-yq", "tar", "nsis"})

Check failure on line 18 in exe/builder.go

View workflow job for this annotation

GitHub Actions / go-test

syntax error: unexpected comma, expected expression

builder, err := containers.WithEmbeddedFS(d, debian, "/src", grafanabuild.WindowsPackaging)
if err != nil {
Expand Down
1 change: 1 addition & 0 deletions frontend/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
func Build(builder *dagger.Container) *dagger.Directory {
// Get the node version from the 'src' directories '.nvmrc' file.
public := builder.
WithExec([]string{"yarn", "install", "--immutable"}).
WithExec([]string{"yarn", "run", "build"}).
Directory("/src/public")

Expand Down

0 comments on commit cbe4740

Please sign in to comment.