We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5cca999 + 8ec8aa6 commit d6324fbCopy full SHA for d6324fb
Dockerfile
@@ -1,8 +1,7 @@
1
-FROM amazonlinux:2 as certs
2
-
3
-FROM scratch
4
-# Add certificates to this scratch image so that we can make calls to the AWS APIs
5
-COPY --from=certs /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
+# Use amazonlinux as the base image so that:
+# - we have certificates to make calls to the AWS APIs (/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem)
+# - it provides 'sh' excutable that is required by aws-sdk-go credential_process
+FROM amazonlinux:2
6
7
COPY ["LICENSE", "NOTICE", "THIRD-PARTY", "/"]
8
0 commit comments