Skip to content

Commit c742ddd

Browse files
committed
docker file fix
Signed-off-by: Luke Roy <luke.roy@ibm.com>
1 parent f0dbbd4 commit c742ddd

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

serverless-fleet-worker-registration/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ COPY main.go ./
1919
RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-w -s" -o fleet-register .
2020

2121
# Stage 2: Runtime stage
22-
FROM gcr.io/distroless/static-debian13
22+
FROM registry.access.redhat.com/ubi10/ubi-minimal
2323

2424
# Copy binary from builder
2525
COPY --from=builder /build/fleet-register /app/fleet-register
@@ -30,6 +30,8 @@ WORKDIR /app
3030
# Expose port
3131
EXPOSE 8080
3232

33+
RUN mkdir /fleet-workers
34+
3335
# Set environment variable for the workbook path
3436
ENV WORKBOOK_PATH=/fleet-workers/fleet-register.xlsx
3537

0 commit comments

Comments
 (0)