|
You are here |
hjr265.me | ||
| | | | |
memo.mx
|
|
| | | | | Docker multi-stage build is a great way to build a container images with a minimal footprint. Compiled languages like Go or Rust can take advantage of this by just shipping a binary to a container This is an example from the official docs: FROM golang:1.16 WORKDIR /go/src/github.com/alexellis/href-counter/ RUN go get -d -v golang.org/x/net/html COPY app.go ./ RUN CGO_ENABLED=0 go build -a -installsuffix cgo -o app . FROM alpine:latest RUN apk --no-cache add ca-certificates WORKDIR /root/ COPY --from=0 /g... | |
| | | | |
pliutau.com
|
|
| | | | | Software Engineering Lead with a passion for APIs, Web, Cloud, Microservices, DevOps, Kubernetes etc. Engineering Lead at solsten.io | |
| | | | |
www.neerajsidhaye.com
|
|
| | | | | Creating optimized docker image for GO application using multi stage build - using alpine image and then produce a small image with only binary in a scratch image. Let's read further... | |
| | | | |
www.rasulkireev.com
|
|
| | | How to set up a virtual environment for your Django Project, or any other Python project, for that matter. | ||