/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

pythonspeed.com
| | 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 /go/src/github.
2.4 parsecs

Travel
| |
| | rpep.dev

Alpine Linux is a distribution that is designed to be lightweight. In particular, its seen a lot of use in Docker images because the resulting image bundles are considerably smaller than those generated by other minimal distros. However, in the context of building a Docker image for a Python application, its worth thinking carefully before using Alpine, as it can often result in slower builds and counterintuitively it can even result in larger images occasionally.
2.7 parsecs

Travel
| |
| | andyfreeland.net

[AI summary] A technical guide demonstrating how to reduce Docker image sizes for Python applications by using Docker BuildKit's bind mount feature instead of copying layers in multi-stage builds.
2.4 parsecs

Travel
| |
| | plasma-umass.org

Demo of the Doppio Runtime System. Contribute to plasma-umass/doppio-demo development by creating an account on GitHub.
8.8 parsecs

Travel
|