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 Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN CGO_ENABLED=0 LDFLAGS="-s -w \
GOOS=linux GOARCH=amd64 go build -ldflags "${LDFLAGS}" -o main ./cmd/thv-registry-api/main.go

# Use minimal base image to package the binary
FROM registry.access.redhat.com/ubi10/ubi-minimal:10.2-1780550715
FROM registry.access.redhat.com/ubi10/ubi-minimal:10.2-1781509346

COPY --from=builder /workspace/main /
COPY LICENSE /licenses/LICENSE
Expand Down
4 changes: 2 additions & 2 deletions docker/dockerfile-compose
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This Dockerfile is intended for docker-compose only.
FROM index.docker.io/library/golang@sha256:68cb6d68bed024785b69195b89af7ac7a444f27791435f98647edff595aa0479 AS builder
FROM index.docker.io/library/golang@sha256:792443b89f65105abba56b9bd5e97f680a80074ac62fc844a584212f8c8102c3 AS builder

USER root

Expand Down Expand Up @@ -28,7 +28,7 @@ RUN CGO_ENABLED=0 LDFLAGS="-s -w \
GOOS=linux go build -ldflags "${LDFLAGS}" -o main ./cmd/thv-registry-api/main.go

# Use minimal base image to package the binary
FROM index.docker.io/library/alpine@sha256:5b10f432ef3da1b8d4c7eb6c487f2f5a8f096bc91145e68878dd4a5019afde11
FROM index.docker.io/library/alpine@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b

COPY --from=builder /workspace/main /thv-registry-api
COPY LICENSE /licenses/LICENSE
Expand Down
Loading