Skip to content

Commit 603e58f

Browse files
committed
chore: #127 Update Dockerfile
Signed-off-by: Laurent Broudoux <[email protected]>
1 parent 1fe3bc0 commit 603e58f

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

build/Dockerfile

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build binary
2-
FROM --platform=$BUILDPLATFORM golang:1.17.1-alpine AS build-env
2+
FROM --platform=$BUILDPLATFORM golang:1.23.0-alpine AS build-env
33
ADD . /app
44
WORKDIR /app
55
ARG TARGETOS
@@ -8,9 +8,16 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} \
88
go build -ldflags="-s -w" -o microcks-cli github.com/microcks/microcks-cli
99

1010
# Build image
11-
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.3-1475
11+
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5-1742914212
1212

13-
MAINTAINER Laurent Broudoux <[email protected]>
13+
# Some version information
14+
LABEL maintainer="Laurent Broudoux <[email protected]>" \
15+
org.opencontainers.image.authors="Laurent Broudoux <[email protected]>" \
16+
org.opencontainers.image.title="Microcks CLI" \
17+
org.opencontainers.image.description="Microcks is Open Source cloud-native native tool for API Mocking and Testing" \
18+
org.opencontainers.image.licenses="Apache-2.0" \
19+
org.opencontainers.image.documentation="https://github.com/microcks/microcks-cli" \
20+
io.artifacthub.package.readme-url="https://raw.githubusercontent.com/microcks/microcks-cli/master/README.md"
1421

1522
ENV CLI=/usr/local/bin/microcks-cli \
1623
USER_UID=1001 \

0 commit comments

Comments
 (0)