|
You are here |
pythonspeed.com | ||
| | | | |
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. | |
| | | | |
shpota.com
|
|
| | | | | Delivering a Node application as a Docker image is easy, and it works straight away. Most likely because of this simplicity many don't even know it is done i... | |
| | | | |
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... | |
| | | | |
nathanchance.dev
|
|
| | | Recently, I built a computer for school that I installed Windows 10 Pro on (link to the current specs if you are curious). I was a little bummed about leaving Chrome OS because I was going to lose my local Linux development environment; however, Windows Subsystem for Linux is a thing and it has gotten even better with WSL 2, as it is actually running a Linux kernel so there is full Linux compatibility going forward. | ||