Skip to content
Merged
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
11 changes: 0 additions & 11 deletions docs/current/partials/_install-sdk-go.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,8 @@ From your existing Go module, install the Dagger Go SDK using the commands below

```shell
go get dagger.io/dagger@latest
go mod edit -replace github.com/docker/docker=github.com/docker/[email protected]+incompatible
```

:::note
The `replace` statement is currently needed due to one of Dagger's dependencies using a `replace` statement in its Go module. Learn more in this [GitHub tracking issue](https://github.com/dagger/dagger/issues/3391).
:::

:::note
Use of `go get -u` may currently result in a transitive dependency being upgraded to an incompatible version and errors like `filesync.go:112:20: cannot use dir.Map (variable of type func(string, *types.Stat) bool) as type fsutil.MapFunc in struct literal`.

At this time, we recommend avoiding `-u` unless necessary to upgrade other unrelated dependencies. If you need to use it, you can patch the problem afterwards by running `go get github.com/tonistiigi/[email protected]`.
:::

After importing `dagger.io/dagger` in your Go module code, run the following command to update `go.sum`:

```shell
Expand Down
3 changes: 2 additions & 1 deletion sdk/nodejs/provisioning/default.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Code generated by dagger. DO NOT EDIT.
const DEFAULT_IMAGE_REF = "ghcr.io/dagger/engine:v0.3.5@sha256:41f71f0036167fcc8b926792b079d840c52066eec093f3e177881468fd122c83";
const DEFAULT_IMAGE_REF =
"ghcr.io/dagger/engine:v0.3.5@sha256:41f71f0036167fcc8b926792b079d840c52066eec093f3e177881468fd122c83"

export const DEFAULT_HOST = `docker-image://${DEFAULT_IMAGE_REF}`