mirror of
https://github.com/ClusterCockpit/cc-docker.git
synced 2026-09-02 04:47:15 +02:00
- Auto-import the clustercockpit realm on Keycloak start - Rewrite the generated LDAP directory with cc-* role groups and dev users - Move config.json to the main/nats/auth schema; cc-backend now on :8088 - Add resetDev.sh to tear down containers, volumes and generated data - Bump cc-metric-store build image to golang 1.26.4 - Ignore all of data/ (generated by dataGenerationScript.sh) Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
22 lines
545 B
Docker
22 lines
545 B
Docker
FROM golang:1.26.4
|
|
|
|
RUN apt-get update
|
|
RUN apt-get -y install git
|
|
|
|
RUN rm -rf /cc-metric-store
|
|
|
|
RUN git clone https://github.com/ClusterCockpit/cc-metric-store.git /cc-metric-store
|
|
RUN cd /cc-metric-store && go build ./cmd/cc-metric-store
|
|
|
|
# Reactivate when latest commit is available
|
|
#RUN go get -d -v github.com/ClusterCockpit/cc-metric-store
|
|
#RUN go install -v github.com/ClusterCockpit/cc-metric-store@latest
|
|
|
|
RUN mv /cc-metric-store/cc-metric-store /go/bin
|
|
COPY config.json /go/bin
|
|
|
|
VOLUME /data
|
|
|
|
WORKDIR /go/bin
|
|
CMD ["./cc-metric-store"]
|