Skip to content

Commit

Permalink
Add some files to the python image so we can test FsPolicy.
Browse files Browse the repository at this point in the history
  • Loading branch information
meowjesty committed Jan 8, 2025
1 parent e7f9211 commit c49c030
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions python/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM python:3.9-slim-buster
WORKDIR /app
COPY app.py test.txt .
COPY app.py test.txt file.local file.not-found file.read-only file.read-write .
RUN pip3 install flask
ENTRYPOINT ["python3", "app.py"]
ENTRYPOINT ["python3", "app.py"]
1 change: 1 addition & 0 deletions python/file.local
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Duke Siemowit
1 change: 1 addition & 0 deletions python/file.not-found
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Duke Siemomysł
1 change: 1 addition & 0 deletions python/file.read-only
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Duke Lestek
1 change: 1 addition & 0 deletions python/file.read-write
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Duke Mieszko I
2 changes: 1 addition & 1 deletion python/test.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

0 comments on commit c49c030

Please sign in to comment.