Skip to content

Commit

Permalink
ci: fix docker build (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
oderayi authored Sep 7, 2023
1 parent 3424478 commit cd13eec
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ jobs:
- run:
name: Install docker dependencies for anchore
command: |
apk add --update py-pip docker python3-dev libffi-dev openssl-dev gcc libc-dev make jq npm
apk add --update py-pip docker python3-dev libffi-dev openssl-dev gcc libc-dev make jq npm curl bash
- run:
name: Install AWS CLI dependencies
command: *defaults_awsCliDependencies
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ WORKDIR /opt/app

RUN apk --no-cache add git
RUN apk add --no-cache -t build-dependencies make gcc g++ python3 libtool openssl-dev autoconf automake bash \
&& cd $(npm root -g)/npm \
&& cd $(npm root -g)/npm

COPY package.json package-lock.json* /opt/app/

Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "quoting-service",
"description": "Quoting Service hosted by a scheme",
"license": "Apache-2.0",
"version": "15.0.3",
"version": "15.0.4-snapshot.1",
"author": "ModusBox",
"contributors": [
"Georgi Georgiev <[email protected]>",
Expand Down Expand Up @@ -62,7 +62,7 @@
"regenerate": "yo swaggerize:test --framework hapi --apiPath './src/interface/swagger.json'",
"package-lock": "docker run --rm -it quoting-service:local cat package-lock.json > package-lock.json",
"run": "docker run -p 3002:3002 --rm --link db:mysql quoting-service:local",
"docker:build": "docker build --build-arg NODE_VERSION=\"$(cat .nvmrc)-alpine\" -t mojaloop/quoting-service:local -f ./Dockerfile ../",
"docker:build": "docker build --build-arg NODE_VERSION=\"$(cat .nvmrc)-alpine\" -t mojaloop/quoting-service:local -f ./Dockerfile .",
"docker:up": "docker-compose -f docker-compose.yml -f docker-compose.base.yml up",
"docker:stop": "docker-compose -f docker-compose.yml -f docker-compose.base.yml stop",
"docker:rm": "docker-compose -f docker-compose.yml -f docker-compose.base.yml rm -f -v",
Expand All @@ -86,7 +86,7 @@
"@mojaloop/central-services-health": "14.0.2",
"@mojaloop/central-services-logger": "11.2.2",
"@mojaloop/central-services-metrics": "12.0.8",
"@mojaloop/central-services-shared": "18.0.0",
"@mojaloop/central-services-shared": "18.1.0",
"@mojaloop/event-sdk": "12.0.2",
"@mojaloop/ml-number": "11.2.3",
"@mojaloop/sdk-standard-components": "17.1.3",
Expand Down

0 comments on commit cd13eec

Please sign in to comment.