mirror of
https://github.com/zalando-incubator/kube-metrics-adapter.git
synced 2024-12-22 11:06:04 +00:00
Merge pull request #723 from zalando-incubator/static-base-image
Use static base image
This commit is contained in:
commit
35e0241cbf
@ -1,9 +1,7 @@
|
|||||||
ARG BASE_IMAGE=registry.opensource.zalan.do/library/alpine-3:latest
|
ARG BASE_IMAGE=registry.opensource.zalan.do/library/static:latest
|
||||||
FROM ${BASE_IMAGE}
|
FROM ${BASE_IMAGE}
|
||||||
LABEL maintainer="Team Teapot @ Zalando SE <team-teapot@zalando.de>"
|
LABEL maintainer="Team Teapot @ Zalando SE <team-teapot@zalando.de>"
|
||||||
|
|
||||||
RUN apk add --no-cache tzdata
|
|
||||||
|
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|
||||||
ADD build/linux/${TARGETARCH}/kube-metrics-adapter /
|
ADD build/linux/${TARGETARCH}/kube-metrics-adapter /
|
||||||
|
@ -42,5 +42,5 @@ pipeline:
|
|||||||
make build.linux.amd64 build.linux.arm64
|
make build.linux.amd64 build.linux.arm64
|
||||||
|
|
||||||
docker buildx create --config /etc/cdp-buildkitd.toml --driver-opt network=host --bootstrap --use
|
docker buildx create --config /etc/cdp-buildkitd.toml --driver-opt network=host --bootstrap --use
|
||||||
docker buildx build --rm --build-arg BASE_IMAGE=container-registry.zalando.net/library/alpine-3:latest -t "${IMAGE}:${VERSION}" --platform linux/amd64,linux/arm64 --push .
|
docker buildx build --rm --build-arg BASE_IMAGE=container-registry.zalando.net/library/static:latest -t "${IMAGE}:${VERSION}" --platform linux/amd64,linux/arm64 --push .
|
||||||
cdp-promote-image "${IMAGE}:${VERSION}"
|
cdp-promote-image "${IMAGE}:${VERSION}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user