Skip to content

Commit 70c39cd

Browse files
author
Oleg Sucharevich
authored
update dockerfile to have also github cli (#324)
1 parent 3c41807 commit 70c39cd

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Dockerfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
FROM node:9.2.0-alpine
1+
FROM golang:alpine as go
2+
3+
RUN apk add --update ca-certificates git
4+
RUN go get github.com/github/hub
25

3-
RUN apk add --update git curl jq py-pip bash && pip install yq
6+
FROM node:9.2.0-alpine
47

8+
RUN apk add --update ca-certificates git curl jq py-pip bash && pip install yq
9+
COPY --from=go /go/bin/hub /usr/local/bin/hub
510
WORKDIR /cf-cli
611

712
COPY package.json /cf-cli

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codefresh",
3-
"version": "0.18.1",
3+
"version": "0.19.0",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)