mirror of
https://github.com/drone-plugins/drone-manifest.git
synced 2026-06-14 14:02:52 +08:00
19 lines
600 B
Docker
19 lines
600 B
Docker
FROM alpine:3.6 as base
|
|
|
|
ENV MANIFEST_VERSION 0.7.0
|
|
ENV MANIFEST_URL https://github.com/estesp/manifest-tool/releases/download/v${MANIFEST_VERSION}/manifest-tool-linux-386
|
|
|
|
RUN apk add --no-cache curl && \
|
|
curl -sSLo /bin/manifest-tool ${MANIFEST_URL} && \
|
|
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"
|
|
|
|
ADD release/linux/i386/drone-manifest /bin/
|
|
ENTRYPOINT ["/bin/drone-manifest"]
|