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 pathservice/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ COPY ./pathservice ./
RUN go build -o bin/pathservice

# Start a new stage from scratch
FROM registry.redhat.io/ubi9-micro@sha256:113775a4479af632fde314af652daa6a45ab3d34b59ceb76a777616131daa6bd
FROM registry.access.redhat.com/ubi9-micro:9.5-1731934928

# Copy the binary from the previous stage
COPY --from=builder /opt/app-root/src/bin/pathservice /pathservice
Expand Down
4 changes: 4 additions & 0 deletions src/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ FROM registry.access.redhat.com/ubi9/nodejs-22:9.5-1730543890
WORKDIR /opt/app-root/src

COPY package*.json ./

USER root
RUN chown -R default:root /opt/app-root/src/package*.json
USER default
RUN npm install
COPY ./ .

Expand Down