Skip to content

Commit

Permalink
removed binaries from image (#93)
Browse files Browse the repository at this point in the history
* removed binaries from image
  • Loading branch information
ATGardner authored Apr 10, 2022
1 parent 81ea622 commit 156b646
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ WORKDIR /root/cf-runtime

RUN apk -U upgrade

# install cf-runtime required binaries
RUN apk add --no-cache bash git openssh-client

COPY package.json yarn.lock ./

# install cf-runtime required binaries
RUN apk add --no-cache --virtual deps python3 make g++ && \
RUN apk add --no-cache --virtual deps \
g++ \
git \
make \
python3 && \
yarn install --frozen-lockfile --production && \
yarn cache clean && \
apk del deps && \
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ COPY package.json ./
COPY yarn.lock ./

# install cf-runtime required binaries
RUN apk add --no-cache --virtual deps python make g++ && \
RUN apk add --no-cache --virtual deps \
python \
make \
g++ && \
yarn install --frozen-lockfile --production && \
yarn cache clean && \
apk del deps && \
Expand Down
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
"request": "^2.88.2",
"request-promise": "^4.2.6"
},
"resolutions": {
"lodash": "^4.17.21",
"graceful-fs": "^4.2.4"
},
"devDependencies": {
"chai": "^4.3.6",
"eslint": "^7.32.0",
Expand Down
2 changes: 1 addition & 1 deletion service.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version: 1.8.0
version: 1.8.1

0 comments on commit 156b646

Please sign in to comment.