Skip to content

Instantly share code, notes, and snippets.

View frezbo's full-sized avatar
🏠
Working from home

Noel Georgi frezbo

🏠
Working from home
View GitHub Profile
@bburky
bburky / Dockerfile
Last active September 25, 2024 13:58
Environment variable access within Dockerfile RUN of rootless/unprivileged build tools
FROM alpine
RUN apk --no-cache add procps
RUN env
# The environment of RUN commands may have a few interesting extra values in
# it, but shouldn't ever have environment variables from the host environment.
# Makisu don't actually clean this environment though, so all variables are
# easily accessible here.