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

Changed golang:1.14-buster to golang:1.16-buster #66

Merged
merged 1 commit into from
Jul 4, 2023

Conversation

Nishantbhagat57
Copy link
Contributor

Fixes the below error:

------
Dockerfile:2
--------------------
   1 |     FROM golang:1.14-buster as builder
   2 | >>> RUN GO111MODULE=on GOOS=linux go get -ldflags "-linkmode external -extldflags -static" github.com/jaeles-project/jaeles
   3 |     RUN GO111MODULE=on GOOS=linux go get -ldflags "-linkmode external -extldflags -static" github.com/mafredri/cdp
   4 |     FROM alpine:latest
--------------------
ERROR: failed to solve: process "/bin/sh -c GO111MODULE=on GOOS=linux go get -ldflags \"-linkmode external -extldflags -static\" github.com/jaeles-project/jaeles" did not complete successfully: exit code: 1```

Fixes the below error:
```#0 6.877 pkg/mod/github.com/chromedp/[email protected]/js.go:4:2: package embed is not in GOROOT (/usr/local/go/src/embed)
------
Dockerfile:2
--------------------
   1 |     FROM golang:1.14-buster as builder
   2 | >>> RUN GO111MODULE=on GOOS=linux go get -ldflags "-linkmode external -extldflags -static" github.com/jaeles-project/jaeles
   3 |     RUN GO111MODULE=on GOOS=linux go get -ldflags "-linkmode external -extldflags -static" github.com/mafredri/cdp
   4 |     FROM alpine:latest
--------------------
ERROR: failed to solve: process "/bin/sh -c GO111MODULE=on GOOS=linux go get -ldflags \"-linkmode external -extldflags -static\" github.com/jaeles-project/jaeles" did not complete successfully: exit code: 1```
@j3ssie j3ssie merged commit d824b0b into jaeles-project:master Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants