File tree Expand file tree Collapse file tree 5 files changed +12
-18
lines changed
Expand file tree Collapse file tree 5 files changed +12
-18
lines changed Original file line number Diff line number Diff line change 1- FROM golang:1.25 as builder
1+ FROM public.ecr.aws/docker/library/ golang:1.25 as builder
22
33# # GOLANG env
44ARG GOPROXY="https://proxy.golang.org|direct"
@@ -22,7 +22,8 @@ RUN make build
2222CMD ["/amazon-ec2-instance-selector/build/ec2-instance-selector" ]
2323
2424# Copy the binary into a thin image
25- FROM amazonlinux:2 as amazonlinux
25+ FROM public.ecr.aws/amazonlinux/amazonlinux:2023-minimal as amazonlinux
26+
2627FROM scratch
2728WORKDIR /
2829COPY --from=builder /amazon-ec2-instance-selector/build/ec2-instance-selector .
Original file line number Diff line number Diff line change 22
33<h4 >A CLI tool and go library which recommends instance types based on resource criteria like vcpus and memory.</h4 >
44
5+ ![ GitHub go.mod Go version] ( https://img.shields.io/github/go-mod/go-version/aws/amazon-ec2-instance-selector )
6+ [ ![ GitHub License] ( https://img.shields.io/github/license/aws/amazon-ec2-instance-selector )] ( https://opensource.org/licenses/Apache-2.0 )
7+ [ ![ Docker Pulls] ( https://img.shields.io/docker/pulls/amazon/amazon-ec2-instance-selector )] ( https://hub.docker.com/r/amazon/amazon-ec2-instance-selector )
8+
59<p >
6- <a href =" https://golang.org/doc/go1.23 " >
7- <img src="https://img.shields.io/github/go-mod/go-version/aws/amazon-ec2-instance-selector?color=blueviolet" alt="go-version">
8- </a >
9- <a href =" https://opensource.org/licenses/Apache-2.0 " >
10- <img src="https://img.shields.io/badge/License-Apache%202.0-ff69b4.svg" alt="license">
11- </a >
1210 <a href =" https://goreportcard.com/report/github.com/aws/amazon-ec2-instance-selector " >
1311 <img src="https://goreportcard.com/badge/github.com/aws/amazon-ec2-instance-selector" alt="go-report-card">
1412 </a >
15- <a href =" https://hub.docker.com/r/amazon/amazon-ec2-instance-selector " >
16- <img src="https://img.shields.io/docker/pulls/amazon/amazon-ec2-instance-selector" alt="docker-pulls">
17- </a >
1813</p >
1914
2015![ EC2 Instance Selector CI and Release] ( https://github.com/aws/amazon-ec2-instance-selector/workflows/EC2%20Instance%20Selector%20CI%20and%20Release/badge.svg )
2116
22- <div >
23- <hr >
24- </div >
17+ ---
2518
2619## Summary
2720
Original file line number Diff line number Diff line change 1- FROM public.ecr.aws/docker/library/golang:1.23
1+ FROM public.ecr.aws/docker/library/golang:1.25
22
33WORKDIR /app
44
Original file line number Diff line number Diff line change 1- FROM python:3
1+ FROM public.ecr.aws/docker/library/ python:3
22
33
44RUN pip3 install rundoc
Original file line number Diff line number Diff line change 1- FROM golang:1.23
1+ FROM public.ecr.aws/docker/library/ golang:1.25
22
33RUN go install github.com/client9/misspell/cmd/misspell@v0.3.4
44
5- CMD [ "/go/bin/misspell" ]
5+ CMD [ "/go/bin/misspell" ]
You can’t perform that action at this time.
0 commit comments