Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Override/Reset entrypoint during container creation #176

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions internal/settings/settings_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package settings

import (
"fmt"
"reflect"
"testing"

Expand All @@ -11,7 +10,6 @@ import (

func TestInit(t *testing.T) {
Init()
fmt.Print(viper.AllSettings())
defaultSettings := map[string]interface{}{
"dunnertaskfile": internal.DefaultDunnerTaskFileName,
"dotenvfile": ".env",
Expand Down
1 change: 1 addition & 0 deletions pkg/docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ func (step Step) Exec() error {
Env: step.Env,
WorkingDir: containerWorkingDir,
User: step.User,
Entrypoint: []string{},
},
&container.HostConfig{
Mounts: append(step.ExtMounts, mount.Mount{
Expand Down
2 changes: 1 addition & 1 deletion pkg/dunner/list_tasks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ tasks:
panic(err)
}

// Output: Available Dunner tasks:
// Unordered output: Available Dunner tasks:
// • setup
// • build
// Run `dunner do <task_name>` to run a dunner task.
Expand Down