-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #545 from johscheuer/update-data-loader
Update the data-loader example to use the public image
- Loading branch information
Showing
3 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
FROM python:3.8-slim | ||
|
||
COPY app.py / | ||
COPY app.py /usr/local/bin | ||
|
||
RUN pip install foundationdb==6.2.10 | ||
RUN groupadd --gid 4059 fdb && \ | ||
useradd --gid 4059 --uid 4059 --shell /usr/sbin/nologin fdb | ||
|
||
CMD python /app.py | ||
# Set to the numeric UID of fdb user to satisfy PodSecurityPolices which enforce runAsNonRoot | ||
USER 4059 | ||
|
||
ENTRYPOINT [ "python", "/usr/local/bin/app.py" ] |
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
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