Dockerfile
This commit is contained in:
parent
98f7b5ceec
commit
d6c2e920b0
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@ -0,0 +1,14 @@
|
||||
FROM registry.odit.services/hub/library/alpine:3.17 as BUILD
|
||||
WORKDIR /app
|
||||
RUN apk add dos2unix --no-cache --update && rm -rf /var/cache/apk/*
|
||||
COPY plugin.sh ./
|
||||
RUN dos2unix plugin.sh
|
||||
|
||||
FROM registry.odit.services/hub/library/node:20.0.0-alpine3.17
|
||||
WORKDIR /app
|
||||
|
||||
RUN apk add curl git jq pandoc --no-cache --update && rm -rf /var/cache/apk/*
|
||||
|
||||
# add the wrapper which acts as a drone plugin
|
||||
COPY --from=BUILD /app/plugin.sh /app/plugin.sh
|
||||
ENTRYPOINT [ "/app/plugin.sh" ]
|
Loading…
x
Reference in New Issue
Block a user