Initial commit
This commit is contained in:
13
charts/loki/src/helm-test/Dockerfile
Normal file
13
charts/loki/src/helm-test/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
ARG GO_VERSION=1.24
|
||||
FROM golang:${GO_VERSION} as build
|
||||
|
||||
# build via Makefile target helm-test-image in root
|
||||
# Makefile. Building from this directory will not be
|
||||
# able to access source needed in rest of repo.
|
||||
COPY . /src/loki
|
||||
WORKDIR /src/loki
|
||||
RUN make clean && make BUILD_IN_CONTAINER=false helm-test
|
||||
|
||||
FROM gcr.io/distroless/static:debug
|
||||
COPY --from=build /src/loki/production/helm/loki/src/helm-test/helm-test /usr/bin/helm-test
|
||||
ENTRYPOINT [ "/usr/bin/helm-test" ]
|
||||
Reference in New Issue
Block a user