<reponame>loveser/action-hexo
FROM amd64/node:10

LABEL version="1.0.1"
LABEL repository="http://github.com/heowc/action-hexo"
LABEL homepage="https://heowc.github.io"
LABEL maintainer="heowc <<EMAIL>>"

LABEL com.github.actions.name="GitHub Action for hexo"
LABEL com.github.actions.description="Wraps the hexo CLI to enable common hexo commands."
LABEL com.github.actions.icon="package"
LABEL com.github.actions.color="red"

RUN apt-get update && \
    apt-get install -y git-core

RUN npm install --save core-js@^3 
RUN npm install -g hexo-cli hexo hexo-deployer-git
COPY "entrypoint.sh" "/entrypoint.sh"
RUN chmod +x /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]

