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
bca14e71
Commit
bca14e71
authored
Feb 10, 2021
by
Michael Uranaka
Browse files
removing
parent
d952c8a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
Dockerfile
Dockerfile
+0
-21
No files found.
Dockerfile
View file @
bca14e71
...
...
@@ -17,27 +17,6 @@ RUN mv redis-cli /usr/local/bin/redis-cli
RUN
chown
-R
1001 /app
RUN
chmod
0555 /app/get-job.sh
# Remove sudo
# Remove sudo
RUN
rm
/bin/su
\
/bin/sudo
\
/bin/sudoedit
\
/bin/sudoreplay
\
/usr/lib/tmpfiles.d/sudo.conf
\
/etc/pam.d/sudo
*
\
/etc/dnf/protected.d/sudo.conf
\
/usr/bin/cvtsudoers
\
/usr/sbin/visudo
\
/usr/share/man/man1/cvtsudoers.1.gz
\
/usr/share/man/man8/visudo.8.gz
\
&&
rm
-rf
/usr/share/doc/sudo
\
&&
rm
-rf
/usr/share/licenses/sudo
\
&&
rm
-rf
/usr/share/man/man5/sudo
*
\
&&
rm
-rf
/usr/share/man/man8/sudo
*
\
&&
rm
-rf
/usr/libexec/sudo
\
&&
rm
-rf
/var/db/sudo
\
&&
rm
-rf
/etc/sudo
*
# 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