File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 9
9
* .so
10
10
* .dylib
11
11
* .DS_Store
12
+ /disclosure-cli
12
13
13
14
# Test binary, built with `go test -c`
14
15
* .test
@@ -24,4 +25,5 @@ config-int.yml
24
25
.vscode
25
26
# Dependency directories (remove the comment below to include it)
26
27
# vendor/
27
- .idea /
28
+ .idea /
29
+
Original file line number Diff line number Diff line change @@ -15,4 +15,5 @@ RUN CGO_ENABLED=0 go build -o disclosure-cli
15
15
FROM scratch
16
16
WORKDIR /
17
17
COPY --from=builder /cli/disclosure-cli .
18
+ COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
18
19
ENTRYPOINT ["/disclosure-cli" ]
Original file line number Diff line number Diff line change 1
1
# SPDX-FileCopyrightText: 2023 Mercedes-Benz Tech Innovation GmbH
2
2
#
3
3
# SPDX-License-Identifier: MIT
4
+ FROM golang:1.22-alpine as builder
4
5
5
6
FROM scratch
6
7
COPY disclosure-cli /usr/bin/disclosure-cli
7
8
COPY Third_Party_Notices.txt Third_Party_Notices.txt
9
+ COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
8
10
ENTRYPOINT ["/usr/bin/disclosure-cli"]
You can’t perform that action at this time.
0 commit comments