Skip to content

Commit bdda0c9

Browse files
author
Bingjie Liu
committed
Add --no-cache flag to RUN apk update && apk add bash curl command
1 parent 0c7e24e commit bdda0c9

10 files changed

+10
-10
lines changed

Dockerfile.adjudications-api

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM node:current-alpine3.17
22

3-
RUN apk update && apk add bash curl
3+
RUN apk update && apk add bash curl --no-cache
44

55
RUN curl https://manage-adjudications-api-dev.hmpps.service.justice.gov.uk/v3/api-docs > adjudications_api.json && \
66
npm install -g @stoplight/prism-cli

Dockerfile.setup-assess-risks-and-needs-api

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM node:current-alpine3.17
22

3-
RUN apk update && apk add bash
3+
RUN apk update && apk add bash --no-cache
44

55
COPY src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/prismMocks/assess-risks-and-needs-api-docs.json /assess-risks-and-needs-api-docs.json
66

Dockerfile.setup-case-notes-api

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM node:current-alpine3.17
22

3-
RUN apk update && apk add bash
3+
RUN apk update && apk add bash --no-cache
44

55
COPY src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/prismMocks/case-notes-api-docs.json /case-notes-api-docs.json
66

Dockerfile.setup-create-and-vary-a-licence-api

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM node:current-alpine3.17
22

3-
RUN apk update && apk add bash
3+
RUN apk update && apk add bash --no-cache
44

55
COPY src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/prismMocks/create-and-vary-a-licence-api-docs.json /create-and-vary-a-licence-api-docs.json
66

Dockerfile.setup-manage-pom-case-api

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM node:current-alpine3.17
22

3-
RUN apk update && apk add bash curl
3+
RUN apk update && apk add bash curl --no-cache
44

55
RUN curl https://allocation-manager-staging.apps.live.cloud-platform.service.justice.gov.uk/v3/api-docs.json > manage-pom-case-api.json && \
66
npm install -g @stoplight/prism-cli

Dockerfile.setup-ndelius-api

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM node:current-alpine3.17
22

3-
RUN apk update && apk add bash curl
3+
RUN apk update && apk add bash curl --no-cache
44

55
RUN curl https://ministryofjustice.github.io/hmpps-probation-integration-services/tech-docs/projects/external-api-and-delius/api-docs.json > ndelius-api.json && \
66
npm install -g @stoplight/prism-cli

Dockerfile.setup-prison-api

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM node:current-alpine3.17
22

3-
RUN apk update && apk add bash curl
3+
RUN apk update && apk add bash curl --no-cache
44

55
RUN curl https://prison-api-dev.prison.service.justice.gov.uk/v3/api-docs > prison-api.json && \
66
npm install -g @stoplight/prism-cli

Dockerfile.setup-prisoner-search

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM node:current-alpine3.17
22

3-
RUN apk update && apk add bash curl
3+
RUN apk update && apk add bash curl --no-cache
44

55
RUN curl https://prisoner-search-dev.prison.service.justice.gov.uk/v3/api-docs > prisoner-offender-search.json && \
66
sed -i "s+\*/\*+application/json+g" prisoner-offender-search.json && \

Dockerfile.setup-probation-integration-epf-api

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM node:current-alpine3.17
22

3-
RUN apk update && apk add bash curl
3+
RUN apk update && apk add bash curl --no-cache
44

55
RUN curl https://ministryofjustice.github.io/hmpps-probation-integration-services/tech-docs/projects/effective-proposal-framework-and-delius/api-docs.json > probation-integration-epf-api.json && \
66
npm install -g @stoplight/prism-cli

Dockerfile.setup-probation-offender-search

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM node:current-alpine3.17
22

3-
RUN apk update && apk add bash curl
3+
RUN apk update && apk add bash curl --no-cache
44

55
RUN curl https://probation-offender-search-dev.hmpps.service.justice.gov.uk/v3/api-docs > probation-offender-search.json && \
66
npm install -g @stoplight/prism-cli

0 commit comments

Comments
 (0)