From 7bc255cc86bf8087f243c34e17cf6db33366167b Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Fri, 5 Oct 2018 12:58:58 +0200 Subject: [PATCH] fix: add go binary to Dockerfile Closes #2602 --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 74654b14cf..dfbabf3a32 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,5 @@ +FROM amd64/golang:1.11.1-alpine AS golang + FROM amd64/node:8.12.0-alpine@sha256:81abb8de1e5e8b6e55bca143b3c2ec1e2d167cb27fd2cd3191a0d222f7c5e710 LABEL maintainer="Rhys Arkins <rhys@arkins.net>" @@ -10,6 +12,10 @@ 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"] -- GitLab