mirror of
https://github.com/drone-plugins/drone-manifest.git
synced 2026-06-16 14:49:38 +08:00
20 lines
624 B
Docker
20 lines
624 B
Docker
FROM alpine:3.12 as base
|
|
|
|
ENV MANIFEST_TOOL_VERSION 1.0.2
|
|
|
|
RUN apk add --no-cache curl && \
|
|
curl -sSLo /bin/manifest-tool https://github.com/estesp/manifest-tool/releases/download/v${MANIFEST_TOOL_VERSION}/manifest-tool-linux-armv7 && \
|
|
chmod +x /bin/manifest-tool
|
|
|
|
FROM plugins/base:multiarch
|
|
|
|
LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \
|
|
org.label-schema.name="Drone Manifest" \
|
|
org.label-schema.vendor="Drone.IO Community" \
|
|
org.label-schema.schema-version="1.0"
|
|
|
|
COPY --from=base /bin/manifest-tool /bin/
|
|
|
|
ADD release/linux/arm/drone-manifest /bin/
|
|
ENTRYPOINT [ "/bin/drone-manifest" ]
|