For example alpine
, it's only about 5MB.
RUN apk add --no-cache tzdata
ENV TZ America/New_York
func CpuBounded(times int) []int { | |
// Keeps it to a 32 bit int | |
num := 40 | |
var r []int | |
for i := 0; i < times; i++ { | |
d := bubble(expand(reversePrime(fib(num)))) | |
r = append(r, d[len(d)-1]) | |
} | |
return r | |
} |