mirror of
https://github.com/kubereboot/kured.git
synced 2026-02-14 17:39:49 +00:00
Bumps alpine from 3.22.1 to 3.22.2. --- updated-dependencies: - dependency-name: alpine dependency-version: 3.22.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
26 lines
727 B
Docker
26 lines
727 B
Docker
FROM alpine:3.22.2@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412 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.22.2@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412
|
|
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"]
|