mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 22:46:27 +00:00
22 lines
618 B
Docker
22 lines
618 B
Docker
FROM amd64/golang:1.11.1-alpine@sha256:1d9eb297527b4a67366f25219175217c11aff5901c44dc3349d3f3405585f951 AS golang
|
|
|
|
FROM amd64/node:8.12.0-alpine@sha256:81abb8de1e5e8b6e55bca143b3c2ec1e2d167cb27fd2cd3191a0d222f7c5e710
|
|
|
|
LABEL maintainer="Rhys Arkins <rhys@arkins.net>"
|
|
LABEL name="renovate"
|
|
|
|
WORKDIR /usr/src/app/
|
|
|
|
RUN apk add --quiet --no-cache git openssh-client
|
|
COPY package.json .
|
|
COPY yarn.lock .
|
|
RUN yarn install --production && yarn cache clean
|
|
COPY lib lib
|
|
|
|
COPY --from=golang /usr/local/go/bin/go /bin/go
|
|
RUN mkdir -p /usr/local/go
|
|
|
|
USER node
|
|
|
|
ENTRYPOINT ["node", "/usr/src/app/lib/renovate.js"]
|
|
CMD ["--help"]
|