Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
renovate
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
Renovate Bot
renovate
Commits
7bc255cc
Commit
7bc255cc
authored
6 years ago
by
Rhys Arkins
Browse files
Options
Downloads
Patches
Plain Diff
fix: add go binary to Dockerfile
Closes #2602
parent
2dad7bbc
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+6
-0
6 additions, 0 deletions
Dockerfile
with
6 additions
and
0 deletions
Dockerfile
+
6
−
0
View file @
7bc255cc
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"]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment