Add ssl to the final image
This commit is contained in:
parent
780cecea90
commit
54aabc642d
@ -9,4 +9,5 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o backend
|
||||
|
||||
FROM scratch
|
||||
COPY --from=0 /app/backend /app
|
||||
COPY --from=0 /etc/ssl /etc/ssl
|
||||
ENTRYPOINT ["/app"]
|
||||
|
@ -70,7 +70,7 @@ func (h *Helm) PullChart(workdirPath string, release *ReleaseData) (path string,
|
||||
}
|
||||
|
||||
client := action.NewPullWithOpts(action.WithConfig(config))
|
||||
client.InsecureSkipTLSverify = true
|
||||
|
||||
client.Untar = true
|
||||
client.UntarDir = workdirPath
|
||||
client.SetRegistryClient(registry)
|
||||
|
Loading…
Reference in New Issue
Block a user