Skip to content

Commit acc24d6

Browse files
authored
Dockerfile modification - yum update (#170)
* Dockerfile modification - yum update * Dockerfile modification - yum update
1 parent bf7fda3 commit acc24d6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Dockerfile

+5-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ COPY . .
1414
RUN make
1515

1616
FROM amazonlinux:2
17-
RUN yum install -y ca-certificates
17+
RUN yum update -y && \
18+
yum install -y ca-certificates && \
19+
yum clean all && \
20+
rm -rf /var/cache/yum
21+
1822
COPY --from=builder /go/src/github.com/aws/aws-app-mesh-controller-for-k8s/_output/bin/app-mesh-controller /bin/app-mesh-controller
1923
COPY --from=builder /go/src/github.com/aws/aws-app-mesh-controller-for-k8s/ATTRIBUTION.txt /ATTRIBUTION.txt
2024

0 commit comments

Comments
 (0)