UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Containers
G
Galvanize
galvanize
python-code-evaluator
Commits
efc91206
Commit
efc91206
authored
Feb 10, 2021
by
Michael Uranaka
Browse files
removing sudo
parent
2298d387
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
Dockerfile
Dockerfile
+8
-1
No files found.
Dockerfile
View file @
efc91206
...
...
@@ -18,7 +18,14 @@ RUN chown -R 1001 /app
RUN
chmod
0555 /app/get-job.sh
# Remove sudo
RUN
rm
/usr/bin/sudo /usr/bin/sudoedit /usr/bin/sudoreplay
RUN
rm
/usr/bin/su
\
/usr/bin/sudo
\
/usr/bin/sudoedit
\
/usr/bin/sudoreplay
\
/bin/su
\
/bin/sudo
\
/bin/sudoedit
\
/bin/sudoreplay
# Become the python user.
USER
1001
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment