Skip to content

Commit 156b646

Browse files
authored
removed binaries from image (#93)
* removed binaries from image
1 parent 81ea622 commit 156b646

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

Dockerfile

+5-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ WORKDIR /root/cf-runtime
44

55
RUN apk -U upgrade
66

7-
# install cf-runtime required binaries
8-
RUN apk add --no-cache bash git openssh-client
9-
107
COPY package.json yarn.lock ./
118

129
# install cf-runtime required binaries
13-
RUN apk add --no-cache --virtual deps python3 make g++ && \
10+
RUN apk add --no-cache --virtual deps \
11+
g++ \
12+
git \
13+
make \
14+
python3 && \
1415
yarn install --frozen-lockfile --production && \
1516
yarn cache clean && \
1617
apk del deps && \

Dockerfile.aarch64

+4-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,10 @@ COPY package.json ./
5858
COPY yarn.lock ./
5959

6060
# install cf-runtime required binaries
61-
RUN apk add --no-cache --virtual deps python make g++ && \
61+
RUN apk add --no-cache --virtual deps \
62+
python \
63+
make \
64+
g++ && \
6265
yarn install --frozen-lockfile --production && \
6366
yarn cache clean && \
6467
apk del deps && \

package.json

-4
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@
1818
"request": "^2.88.2",
1919
"request-promise": "^4.2.6"
2020
},
21-
"resolutions": {
22-
"lodash": "^4.17.21",
23-
"graceful-fs": "^4.2.4"
24-
},
2521
"devDependencies": {
2622
"chai": "^4.3.6",
2723
"eslint": "^7.32.0",

service.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version: 1.8.0
1+
version: 1.8.1

0 commit comments

Comments
 (0)