# Dockerfile.e2e # # Builds a Headlamp image with the polaris plugin pre-installed. # Used by E2E tests — not for production distribution (use ArtifactHub). # # Usage: # npm run build # docker build -f Dockerfile.e2e -t ghcr.io/privilegedescalation/headlamp-polaris-e2e:sha-abc123 . # # The plugin dist/ must be built before running docker build. ARG HEADLAMP_VERSION=latest FROM ghcr.io/headlamp-k8s/headlamp:${HEADLAMP_VERSION} COPY dist/ /headlamp/plugins/headlamp-polaris/ COPY package.json /headlamp/plugins/headlamp-polaris/