Skip to content

Instantly share code, notes, and snippets.

@waltarix
Last active July 7, 2019 00:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save waltarix/f1d2046dc93ec61721bcd2cacd7d48f8 to your computer and use it in GitHub Desktop.
Save waltarix/f1d2046dc93ec61721bcd2cacd7d48f8 to your computer and use it in GitHub Desktop.
ash profile for Alpine Linux Docker image
# vim: ft=sh
# docker run --rm -it -v =(curl -s https://gist.githubusercontent.com/waltarix/f1d2046dc93ec61721bcd2cacd7d48f8/raw/af8fd9cbfb40bf79d0113f3a436c9e57d01a0a4b/ash_profile):/etc/profile alpine:3.9 ash -l
# or
# docker run --rm -it -v =(curl -s https://git.io/fjity):/etc/profile alpine:3.9 ash -l
export CHARSET=UTF-8
export PAGER=less
cat <<ZONE | base64 -d | gzip -d > /etc/localtime
H4sIACU3IV0CAwuJykwzYsAALFAMApxQNk8DkLhux1Rw/W3khxs/fhXcPGv94TY7w4fba2U/3Hn2
6MPdnv8fmBmZIJCBoZkZpLtnASNQc90EBg4I6eMbwuDlAsTBISBpRhAOIcER/4Eg9dCSAhANcgyY
BjoIRIMcBaJBDgPRIMeBaaADQTTIkSCabIdyATm6llwADEjmDTUBAAA=
ZONE
alias l='ls -l'
alias ll=l
alias la='ls -la'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment