We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2215b0 commit 9e0c387Copy full SHA for 9e0c387
Dockerfile
@@ -1,6 +1,11 @@
1
-FROM golang:alpine3.12 as build
+FROM amazonlinux:latest AS build
2
3
-RUN apk add -U --no-cache ca-certificates git bash
+RUN yum -y update && rm -rf /var/cache/yum/*
4
+RUN yum install -y \
5
+ ca-certificates \
6
+ git \
7
+ bash \
8
+ go
9
10
RUN mkdir /aws-sigv4-proxy
11
WORKDIR /aws-sigv4-proxy
@@ -14,7 +19,7 @@ COPY . .
14
19
RUN CGO_ENABLED=0 GOOS=linux go build -o /go/bin/aws-sigv4-proxy
15
20
16
21
FROM scratch
17
-COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
22
+COPY --from=build /etc/ssl/certs/ca-bundle.crt /etc/ssl/certs/
18
23
COPY --from=build /go/bin/aws-sigv4-proxy /go/bin/aws-sigv4-proxy
24
25
ENTRYPOINT [ "/go/bin/aws-sigv4-proxy" ]
0 commit comments