Skip to content

Instantly share code, notes, and snippets.

View paulojeronimo's full-sized avatar

Paulo Jerônimo paulojeronimo

View GitHub Profile
@paulojeronimo
paulojeronimo / README.md
Created November 9, 2020 10:11 — forked from typebrook/README.md
[bash-gist] A bash script for gist management #bash #gist
@paulojeronimo
paulojeronimo / Dockerfile
Created March 25, 2020 13:36 — forked from yogeek/Dockerfile
Gosu usage in Docker
FROM ubuntu
RUN apt-get install ...
# grab gosu for easy step-down from root
ENV GOSU_VERSION 1.10
RUN set -x \
&& curl -sSLo /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)" \
&& curl -sSLo /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc" \
&& export GNUPGHOME="$(mktemp -d)" \