Downloads tar.gz archive and:
Downloads .theia archive and:
port<port>THEIA_PLUGIN_REMOTE_ENDPOINT_<plugin_publisher_and_name from package.json> and value
ws://port<port>:<port>THEIA_PLUGIN_ENDPOINT_PORT and value portCGO_ENABLED=0 GOOS=linux go build -a -ldflags '-w -s' -a -installsuffix cgo ./...
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-w -s' -a -installsuffix cgo -o che-plugin-broker brokers/che-plugin-broker/main.go
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-w -s' -a -installsuffix cgo -o theia-plugin-broker brokers/theia-plugin-broker/main.go
go test -v -race ./...
golangci-lint run -v
docker build .
Dependencies in the project are managed by Go Dep. After you added a dependency you need to run the following command to download dependencies to vendor repo and lock file and then commit changes:
dep ensure
dep ensure doesn't automatically change Gopkg.toml which contains dependencies constrants.
So, when a dependency is introduced or changed it should be reflected in Gopkg.toml.
docker build -t eclipse/che-plugin-broker:latest -f brokers/che-plugin-broker/Dockerfile .
docker build -t eclipse/theia-plugin-broker:latest -f brokers/theia-plugin-broker/Dockerfile .
Content type
Image
Digest
Size
4 MB
Last updated
almost 8 years ago
docker pull garagatyi/che-plugin-broker2