Skip to content

Commit 4fe8d2d

Browse files
mprpicclaude
andcommitted
fix: migrate dev Dockerfile from Docker to UBI
Replace golang:1.24-alpine with registry.access.redhat.com/ubi9/go-toolset:1.24. Remove apk install of git and build-base as go-toolset already includes them. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Martin Prpič <mprpic@redhat.com>
1 parent f6a5543 commit 4fe8d2d

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

components/backend/Dockerfile.dev

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# Development Dockerfile for Go backend (simplified, no Air)
2-
FROM golang:1.24-alpine
2+
FROM registry.access.redhat.com/ubi9/go-toolset:1.24
33

4-
WORKDIR /app
4+
USER 0
55

6-
# Install git and build dependencies
7-
RUN apk add --no-cache git build-base
6+
WORKDIR /app
7+
RUN chown -R 1001:0 /app
8+
USER 1001
89

910
# Set environment variables
1011
ENV AGENTS_DIR=/app/agents

0 commit comments

Comments
 (0)