Move dockerfiles to docker folder
This commit is contained in:
parent
747ef598b5
commit
b193f2e575
@ -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"]
|
@ -1,4 +1,4 @@
|
||||
FROM plugins/base:amd64
|
||||
FROM plugins/base:linux-amd64
|
||||
|
||||
LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \
|
||||
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
|
||||
|
||||
ADD release/linux/amd64/drone-hugo /bin/
|
||||
|
||||
ENTRYPOINT ["/bin/drone-hugo"]
|
@ -1,4 +1,4 @@
|
||||
FROM plugins/base:arm
|
||||
FROM plugins/base:linux-arm
|
||||
|
||||
LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \
|
||||
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
|
||||
|
||||
ADD release/linux/arm/drone-hugo /bin/
|
||||
|
||||
ENTRYPOINT ["/bin/drone-hugo"]
|
@ -1,4 +1,4 @@
|
||||
FROM plugins/base:arm64
|
||||
FROM plugins/base:linux-arm64
|
||||
|
||||
LABEL maintainer="Drone.IO Community <drone-dev@googlegroups.com>" \
|
||||
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
|
||||
|
||||
ADD release/linux/arm64/drone-hugo /bin/
|
||||
|
||||
ENTRYPOINT ["/bin/drone-hugo"]
|
12
docker/Dockerfile.windows.amd64
Normal file
12
docker/Dockerfile.windows.amd64
Normal 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" ]
|
Loading…
Reference in New Issue
Block a user