File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ readonly REPO_ROOT_DIR
1010function build_transform_jsonata_image() {
1111 local image=" ${KO_DOCKER_REPO} /transform-jsonata:${TAG} "
1212
13+ docker version
14+
1315 docker build \
1416 --platform " linux/amd64" \
1517 --platform " linux/arm64" \
Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ FROM registry.access.redhat.com/ubi9/nodejs-20 AS builder
33# Set working directory
44WORKDIR /app
55
6- # Ensure the working directory has appropriate permissions
7- RUN mkdir -p /app && chown -R 1001:0 /app
6+ # Switch to non-root user
87USER 1001
98
109# Install pnpm globally
@@ -30,8 +29,7 @@ ENV NODE_ENV=production
3029# Set working directory
3130WORKDIR /app
3231
33- # Ensure the working directory has appropriate permissions
34- RUN mkdir -p /app && chown -R 1001:0 /app
32+ # Switch to non-root user
3533USER 1001
3634
3735# Copy built files and dependencies
You can’t perform that action at this time.
0 commit comments