Skip to content

Instantly share code, notes, and snippets.

@kfigiela
Last active August 12, 2021 08:42
Show Gist options
  • Save kfigiela/d0d1982c4700a6a5031060f1a3e3a3ee to your computer and use it in GitHub Desktop.
Save kfigiela/d0d1982c4700a6a5031060f1a3e3a3ee to your computer and use it in GitHub Desktop.
{
"name": "example",
"build": {
"dockerfile": "Dockerfile",
},
"remoteUser": "user"
}
FROM buildpack-deps:focal
RUN useradd -m user
USER user
# Uncomment this in order to get the script executed when dotfiles are installed
# ENV HACKED="'; echo hacked >> /home/user/hacked.txt; '"
# Uncomment this to observe "Syntax error: redirection unexpected" error
# dotfiles won't be installed, .gitconfig won't be copied from host
ENV COMP_WORDBREAKS=" \n\"'@><=;|&("
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment