Skip to content

Instantly share code, notes, and snippets.

View alessfg's full-sized avatar

Alessandro Fael Garcia alessfg

View GitHub Profile
@abscondment
abscondment / build-run-test.sh
Last active November 14, 2023 16:06
docker-nginx-unprivileged build/run/test script
#!/usr/bin/env bash
set -euo pipefail
MAINLINE_VERSION=${MAINLINE_VERSION:-1.25.3}
STABLE_VERSION=${STABLE_VERSION:-1.24.0}
# Platforms based on https://github.com/nginxinc/docker-nginx-unprivileged/blob/main/README.md#architectures
ALPINE_PLATFORMS=(amd64 arm/v6 arm/v7 arm64 386 ppc64le s390x)
DEBIAN_PLATFORMS=(amd64 arm/v5 arm/v7 arm64 386 mips64le ppc64le s390x)
@nginx-gists
nginx-gists / Dockerfile
Last active June 27, 2024 17:03
Dockerfiles for NGINX Plus R32 (Debian bookworm -12- and Alpine Linux 3.20), from Deploying NGINX and NGINX Plus on Docker (https://docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-docker)
ARG RELEASE=bookworm
FROM debian:${RELEASE}-slim
LABEL maintainer="NGINX Docker Maintainers <[email protected]>"
# Define NGINX versions for NGINX Plus and NGINX Plus modules
# Uncomment this block and the versioned nginxPackages block in the main RUN
# instruction to install a specific release
# ARG RELEASE
# ENV NGINX_VERSION=32
@indiesquidge
indiesquidge / homebrew.md
Last active January 28, 2025 14:23
How to and Best of Homebrew

Homebrew

How To

Homebrew is a package management system for OS X. You can read more about it here, or simply run

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

to install it.