Skip to content

Commit

Permalink
Remove sudo commands we don't need (#95)
Browse files Browse the repository at this point in the history
There's no need to execute this with sudo

Signed-off-by: Tim Smith <tsmith84@gmail.com>
  • Loading branch information
tas50 authored Jun 28, 2023
1 parent 4c04112 commit 81c18ad
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion debian-10/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ RUN /usr/bin/apt-get update && \
/usr/bin/apt-get clean && \
/usr/bin/apt-get -y autoremove && \
rm -rf /tmp/* /var/tmp/* && \
sudo ln -s /bin/mkdir /usr/bin/mkdir && \
ln -s /bin/mkdir /usr/bin/mkdir && \
# Don't start any optional services.
find /etc/systemd/system \
/lib/systemd/system \
Expand Down
2 changes: 1 addition & 1 deletion debian-11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ RUN /usr/bin/apt-get update && \
/usr/bin/apt-get clean && \
/usr/bin/apt-get -y autoremove && \
rm -rf /tmp/* /var/tmp/* && \
sudo ln -s /bin/mkdir /usr/bin/mkdir && \
ln -s /bin/mkdir /usr/bin/mkdir && \
# Don't start any optional services.
find /etc/systemd/system \
/lib/systemd/system \
Expand Down
2 changes: 1 addition & 1 deletion debian-12/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ RUN apt-get update && \
apt-get clean && \
apt-get -y autoremove && \
rm -rf /tmp/* /var/tmp/* && \
sudo ln -s /bin/mkdir mkdir && \
ln -s /bin/mkdir mkdir && \
find /etc/systemd/system \
/lib/systemd/system \
-path '*.wants/*' \
Expand Down
2 changes: 1 addition & 1 deletion ubuntu-16.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ RUN apt-get update && \
apt-get clean && \
apt-get -y autoremove && \
rm -rf /tmp/* /var/tmp/* && \
sudo ln -s /bin/mkdir /usr/bin/mkdir && \
ln -s /bin/mkdir /usr/bin/mkdir && \
find /etc/systemd/system \
/lib/systemd/system \
-path '*.wants/*' \
Expand Down
2 changes: 1 addition & 1 deletion ubuntu-18.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ RUN apt-get update && \
apt-get clean && \
apt-get -y autoremove && \
rm -rf /tmp/* /var/tmp/* && \
sudo ln -s /bin/mkdir /usr/bin/mkdir && \
ln -s /bin/mkdir /usr/bin/mkdir && \
find /etc/systemd/system \
/lib/systemd/system \
-path '*.wants/*' \
Expand Down

0 comments on commit 81c18ad

Please sign in to comment.