File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ All notable changes to this project will be documented in this file.
57
57
- Add ` --locked ` flag to ` cargo install ` commands for reproducible builds ([ #1044 ] ).
58
58
- nifi: reduce docker image size by removing the recursive chown/chmods in the final image ([ #1027 ] ).
59
59
- opa: reduce docker image size by removing the recursive chown/chmods in the final image ([ #1038 ] ).
60
+ - opa: Manually install Go 1.23.9 ([ #1103 ] ).
60
61
- spark-k8s: reduce docker image size by removing the recursive chown/chmods in the final image ([ #1042 ] ).
61
62
- trino: reduce docker image size by removing the recursive chown/chmods in the final image ([ #1025 ] ).
62
63
- zookeeper: reduce docker image size by removing the recursive chown/chmods in the final image ([ #1043 ] ).
Original file line number Diff line number Diff line change @@ -47,19 +47,21 @@ ENV GOOS=$TARGETOS
47
47
48
48
# gzip, tar - used to unpack the OPA source
49
49
# git - needed by the cyclonedx-gomod tool to determine the version of OPA
50
- # golang - used to build OPA
51
50
RUN <<EOF
52
51
microdnf update
53
52
microdnf install \
54
53
git \
55
- golang \
56
54
gzip \
57
55
tar
58
56
microdnf clean all
59
57
EOF
60
58
61
59
COPY --chown=${STACKABLE_USER_UID}:0 opa/stackable/bin /stackable/opa/bin
62
60
61
+ # Manually install Go since the dnf package is sometimes not recent enough
62
+ COPY --from=registry-1.docker.io/library/golang:1.23.9 /usr/local/go/ /usr/local/go/
63
+ ENV PATH="/usr/local/go/bin:${PATH}"
64
+
63
65
RUN <<EOF
64
66
# We use version 1.7.0, since a newer version of cyclonedx-gomod is not compatible with the version of Golang (>= 1.23.1)
65
67
go install github.com/CycloneDX/cyclonedx-gomod/cmd/
[email protected]
You can’t perform that action at this time.
0 commit comments