mirror of
https://github.com/kubereboot/kured.git
synced 2026-02-14 17:39:49 +00:00
Bumps alpine from 3.22.2 to 3.23.3. --- updated-dependencies: - dependency-name: alpine dependency-version: 3.23.3 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
26 lines
727 B
Docker
26 lines
727 B
Docker
FROM alpine:3.23.3@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659 AS bin
|
|
|
|
ARG TARGETOS
|
|
ARG TARGETARCH
|
|
ARG TARGETVARIANT
|
|
|
|
COPY dist/ /dist
|
|
RUN set -ex \
|
|
&& case "${TARGETARCH}" in \
|
|
amd64) \
|
|
SUFFIX="_v1" \
|
|
;; \
|
|
arm) \
|
|
SUFFIX="_${TARGETVARIANT:1}" \
|
|
;; \
|
|
*) \
|
|
SUFFIX="" \
|
|
;; \
|
|
esac \
|
|
&& cp /dist/kured_${TARGETOS}_${TARGETARCH}${SUFFIX}/kured /dist/kured;
|
|
|
|
FROM alpine:3.23.3@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659
|
|
RUN apk update --no-cache && apk upgrade --no-cache && apk add --no-cache ca-certificates tzdata
|
|
COPY --from=bin /dist/kured /usr/bin/kured
|
|
ENTRYPOINT ["/usr/bin/kured"]
|