Move dockerfiles to docker folder

This commit is contained in:
Thomas Boerger 2019-01-20 20:45:31 +01:00
parent 747ef598b5
commit b193f2e575
No known key found for this signature in database
GPG Key ID: 09745AFF9D63C79B
5 changed files with 15 additions and 24 deletions

View File

@ -1,18 +0,0 @@
FROM plugins/base:arm64
LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \
org.label-schema.name="Drone Hugo" \
org.label-schema.vendor="Drone.IO Community" \
org.label-schema.schema-version="1.0"
ENV HUGO_VERSION=0.46
ENV HUGO_ARCH=32bit
ENV PLUGIN_HUGO_ARCH=$HUGO_ARCH
ENV PLUGIN_HUGO_SHIPPED_VERSION=$HUGO_VERSION
RUN apk --no-cache add git && \
wget -O- https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-${HUGO_ARCH}.tar.gz | tar xz -C /bin
ADD release/linux/i386/drone-hugo /bin/
ENTRYPOINT ["/bin/drone-hugo"]

View File

@ -1,4 +1,4 @@
FROM plugins/base:amd64 FROM plugins/base:linux-amd64
LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \ LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \
org.label-schema.name="Drone Hugo" \ org.label-schema.name="Drone Hugo" \
@ -14,5 +14,4 @@ RUN apk --no-cache add git && \
wget -O- https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-${HUGO_ARCH}.tar.gz | tar xz -C /bin wget -O- https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-${HUGO_ARCH}.tar.gz | tar xz -C /bin
ADD release/linux/amd64/drone-hugo /bin/ ADD release/linux/amd64/drone-hugo /bin/
ENTRYPOINT ["/bin/drone-hugo"] ENTRYPOINT ["/bin/drone-hugo"]

View File

@ -1,4 +1,4 @@
FROM plugins/base:arm FROM plugins/base:linux-arm
LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \ LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \
org.label-schema.name="Drone Hugo" \ org.label-schema.name="Drone Hugo" \
@ -14,5 +14,4 @@ RUN apk --no-cache add git && \
wget -O- https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-${HUGO_ARCH}.tar.gz | tar xz -C /bin wget -O- https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-${HUGO_ARCH}.tar.gz | tar xz -C /bin
ADD release/linux/arm/drone-hugo /bin/ ADD release/linux/arm/drone-hugo /bin/
ENTRYPOINT ["/bin/drone-hugo"] ENTRYPOINT ["/bin/drone-hugo"]

View File

@ -1,4 +1,4 @@
FROM plugins/base:arm64 FROM plugins/base:linux-arm64
LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \ LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \
org.label-schema.name="Drone Hugo" \ org.label-schema.name="Drone Hugo" \
@ -14,5 +14,4 @@ RUN apk --no-cache add git && \
wget -O- https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-${HUGO_ARCH}.tar.gz | tar xz -C /bin wget -O- https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-${HUGO_ARCH}.tar.gz | tar xz -C /bin
ADD release/linux/arm64/drone-hugo /bin/ ADD release/linux/arm64/drone-hugo /bin/
ENTRYPOINT ["/bin/drone-hugo"] ENTRYPOINT ["/bin/drone-hugo"]

View File

@ -0,0 +1,12 @@
# escape=`
FROM plugins/base:windows-amd64
LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" `
org.label-schema.name="Drone Mercurial" `
org.label-schema.vendor="Drone.IO Community" `
org.label-schema.schema-version="1.0"
# TODO: install required tools
ADD release\drone-hugo.exe c:\drone-hugo.exe
ENTRYPOINT [ "c:\\drone-hugo.exe" ]