Select Git revision
code-of-conduct.md
-
Aaron Crickenberger authored
Refer to kubernetes/community as authoritative source for code of conduct
Aaron Crickenberger authoredRefer to kubernetes/community as authoritative source for code of conduct
Dockerfile 553 B
# syntax=docker/dockerfile:1.7.0
FROM alpine
ARG TARGETPLATFORM
RUN if [ "$TARGETPLATFORM" != "linux/amd64" ] && [ "$TARGETPLATFORM" != "linux/arm64" ] && [ "$TARGETPLATFORM" != "linux/arm/v7" ] && [ "$TARGETPLATFORM" != "linux/riscv64" ]; then \
echo "Error: Unsupported TARGETPLATFORM: $TARGETPLATFORM" && \
exit 1; \
fi
ENV ARCH ${TARGETPLATFORM#linux/}
ENV ARCH ${ARCH%/v7}
RUN apk update
RUN apk upgrade --no-cache busybox zlib
COPY bin/local-path-provisioner-${ARCH} /usr/bin/local-path-provisioner
CMD ["local-path-provisioner"]