Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
RUN npm ci --omit=dev --ignore-scripts

# Deployment container
FROM gcr.io/distroless/nodejs22:nonroot
FROM gcr.io/distroless/nodejs22:nonroot@sha256:7461370c8473cfcbf5def249423d5e8301b0e6b98cb256b3c8707f0201c2ea4a
ENV NODE_ENV production

Check warning on line 8 in api/Dockerfile

View workflow job for this annotation

GitHub Actions / Builds (api)

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

# Copy over app
WORKDIR /app
Expand Down
4 changes: 2 additions & 2 deletions charts/pubcode/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ database:
- name: database-init
registry: 'ghcr.io' # example, it includes registry
repository: 'bcgov/nr-containers' # example, it includes repository
image: mongo # the exact component name, be it backend, api-1 etc...
image: mongo@sha256:2e018e386e891d2e4239aca6035fb7701dac51b72891247ecd2f95ff8a167859 # the exact component name, be it backend, api-1 etc...
tag: 7.0.2 # the tag of the image, it can be latest, 1.0.0 etc..., or the sha256 hash
command:
- "sh"
Expand All @@ -214,7 +214,7 @@ database:
- name: database
registry: 'ghcr.io' # example, it includes registry
repository: 'bcgov/nr-containers' # example, it includes repository
image: mongo # the exact component name, be it backend, api-1 etc...
image: mongo@sha256:2e018e386e891d2e4239aca6035fb7701dac51b72891247ecd2f95ff8a167859 # the exact component name, be it backend, api-1 etc...
tag: 7.0.2 # the tag of the image, it can be latest, 1.0.0 etc..., or the sha256 hash
envFrom:
secretRef:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
restart: unless-stopped

mongo-express: # The admin UI container for mongoDB
image: mongo-express
image: mongo-express@sha256:1b23d7976f0210dbec74045c209e52fbb26d29b2e873d6c6fa3d3f0ae32c2a64
restart: unless-stopped
ports:
- "8001:8081"
Expand Down
Loading