Skip to content
Snippets Groups Projects
Commit 7bc255cc authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix: add go binary to Dockerfile

Closes #2602
parent 2dad7bbc
No related branches found
No related tags found
No related merge requests found
FROM amd64/golang:1.11.1-alpine AS golang
FROM amd64/node:8.12.0-alpine@sha256:81abb8de1e5e8b6e55bca143b3c2ec1e2d167cb27fd2cd3191a0d222f7c5e710 FROM amd64/node:8.12.0-alpine@sha256:81abb8de1e5e8b6e55bca143b3c2ec1e2d167cb27fd2cd3191a0d222f7c5e710
LABEL maintainer="Rhys Arkins <rhys@arkins.net>" LABEL maintainer="Rhys Arkins <rhys@arkins.net>"
...@@ -10,6 +12,10 @@ COPY package.json . ...@@ -10,6 +12,10 @@ COPY package.json .
COPY yarn.lock . COPY yarn.lock .
RUN yarn install --production && yarn cache clean RUN yarn install --production && yarn cache clean
COPY lib lib COPY lib lib
COPY --from=golang /usr/local/go/bin/go /bin/go
RUN mkdir -p /usr/local/go
USER node USER node
ENTRYPOINT ["node", "/usr/src/app/lib/renovate.js"] ENTRYPOINT ["node", "/usr/src/app/lib/renovate.js"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment