Skip to content

Conversation

@burtonr
Copy link
Contributor

@burtonr burtonr commented Jun 6, 2019

Update all python-flask templates to use a non-root user

Signed-off-by: Burton Rheutan [email protected]

Tested by exec-ing into the containers and verifying the user and directory. Then, executing a curl command to ensure the function was still functioning (unable to test/verify the arm template as I do not at the moment have access to and arm device)

$ docker run -it python27-flask:test /bin/sh
~ $ ls
function          index.py          requirements.txt
~ $ pwd
/home/app
~ $ whoami
app

$ docker run -it python3-flask:test /bin/sh
~ $ ls
function          index.py          requirements.txt
~ $ pwd
/home/app
~ $ whoami
app

Update all python-flask templates to use a non-root user

Signed-off-by: Burton Rheutan <[email protected]>
@burtonr burtonr closed this Jun 7, 2019
@burtonr burtonr deleted the non-root branch June 7, 2019 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant