fix(docker-desktop): support auth cookies [BE-11134] (#12108)

This commit is contained in:
Ali
2024-08-21 18:21:51 +12:00
committed by GitHub
parent 8cd53a4b7a
commit f016b31388
8 changed files with 70 additions and 38 deletions

View File

@@ -20,7 +20,10 @@ build-remote:
docker buildx build -f build/linux/Dockerfile --push --builder=buildx-multi-arch --platform=windows/amd64,linux/amd64,linux/arm64 --build-arg TAG=$(VERSION) --build-arg PORTAINER_IMAGE_NAME=$(IMAGE_NAME) --tag=$(TAGGED_IMAGE_NAME) .
install:
docker extension install $(TAGGED_IMAGE_NAME)
docker extension install $(TAGGED_IMAGE_NAME) --force
dev:
docker extension dev debug $(IMAGE_NAME)
multiarch:
docker buildx create --name=buildx-multi-arch --driver=docker-container --driver-opt=network=host

View File

@@ -20,10 +20,9 @@ Next you must install the CLI plugin to enable extension development. Please fol
### Build from local changes
1. Run `yarn` to install the project dependencies
2. Run `yarn dev:extension` to install the extension
3. Make your code changes
4. Re-run `yarn dev:extension` to rebuild and re-install with your latest changes
1. Run `make dev-extension` to install the project dependencies and start in development mode (note that this doesn't do live updates for frontend changes).
2. Make your code changes
3. Re-run `make dev-extension` to rebuild and re-install with your latest changes
## Accessing the Portainer extension

View File

@@ -8,7 +8,7 @@
"dashboard-tab": {
"title": "Portainer",
"root": "/public",
"src": "index.html"
"src": "http://localhost:49000"
}
}
}