Skip to content

Commit 0e007b4

Browse files
committed
base: Remove superfluous sudo
1 parent 213f974 commit 0e007b4

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

base/3.10.10.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,11 @@ RUN dpkgArch="$(dpkg --print-architecture)" \
148148
&& curl -sL https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf -o /usr/share/fonts/truetype/meslo/MesloLGS\ NF\ Bold\ Italic.ttf \
149149
&& fc-cache -fv \
150150
## Set default branch name to main
151-
&& sudo git config --system init.defaultBranch main \
151+
&& git config --system init.defaultBranch main \
152152
## Store passwords for one hour in memory
153153
&& git config --system credential.helper "cache --timeout=3600" \
154154
## Merge the default branch from the default remote when "git pull" is run
155-
&& sudo git config --system pull.rebase false \
155+
&& git config --system pull.rebase false \
156156
## Install pandoc
157157
&& curl -sLO https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-1-${dpkgArch}.deb \
158158
&& dpkg -i pandoc-${PANDOC_VERSION}-1-${dpkgArch}.deb \

base/3.10.5.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,11 @@ RUN dpkgArch="$(dpkg --print-architecture)" \
135135
&& curl -sL https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf -o /usr/share/fonts/truetype/meslo/MesloLGS\ NF\ Bold\ Italic.ttf \
136136
&& fc-cache -fv \
137137
## Set default branch name to main
138-
&& sudo git config --system init.defaultBranch main \
138+
&& git config --system init.defaultBranch main \
139139
## Store passwords for one hour in memory
140140
&& git config --system credential.helper "cache --timeout=3600" \
141141
## Merge the default branch from the default remote when "git pull" is run
142-
&& sudo git config --system pull.rebase false \
142+
&& git config --system pull.rebase false \
143143
## Install pandoc
144144
&& curl -sLO https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-1-${dpkgArch}.deb \
145145
&& dpkg -i pandoc-${PANDOC_VERSION}-1-${dpkgArch}.deb \

base/3.10.6.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,11 @@ RUN dpkgArch="$(dpkg --print-architecture)" \
136136
&& curl -sL https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf -o /usr/share/fonts/truetype/meslo/MesloLGS\ NF\ Bold\ Italic.ttf \
137137
&& fc-cache -fv \
138138
## Set default branch name to main
139-
&& sudo git config --system init.defaultBranch main \
139+
&& git config --system init.defaultBranch main \
140140
## Store passwords for one hour in memory
141141
&& git config --system credential.helper "cache --timeout=3600" \
142142
## Merge the default branch from the default remote when "git pull" is run
143-
&& sudo git config --system pull.rebase false \
143+
&& git config --system pull.rebase false \
144144
## Install pandoc
145145
&& curl -sLO https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-1-${dpkgArch}.deb \
146146
&& dpkg -i pandoc-${PANDOC_VERSION}-1-${dpkgArch}.deb \

base/3.10.7.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,11 @@ RUN dpkgArch="$(dpkg --print-architecture)" \
136136
&& curl -sL https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf -o /usr/share/fonts/truetype/meslo/MesloLGS\ NF\ Bold\ Italic.ttf \
137137
&& fc-cache -fv \
138138
## Set default branch name to main
139-
&& sudo git config --system init.defaultBranch main \
139+
&& git config --system init.defaultBranch main \
140140
## Store passwords for one hour in memory
141141
&& git config --system credential.helper "cache --timeout=3600" \
142142
## Merge the default branch from the default remote when "git pull" is run
143-
&& sudo git config --system pull.rebase false \
143+
&& git config --system pull.rebase false \
144144
## Install pandoc
145145
&& curl -sLO https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-1-${dpkgArch}.deb \
146146
&& dpkg -i pandoc-${PANDOC_VERSION}-1-${dpkgArch}.deb \

base/3.10.8.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,11 @@ RUN dpkgArch="$(dpkg --print-architecture)" \
134134
&& curl -sL https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf -o /usr/share/fonts/truetype/meslo/MesloLGS\ NF\ Bold\ Italic.ttf \
135135
&& fc-cache -fv \
136136
## Set default branch name to main
137-
&& sudo git config --system init.defaultBranch main \
137+
&& git config --system init.defaultBranch main \
138138
## Store passwords for one hour in memory
139139
&& git config --system credential.helper "cache --timeout=3600" \
140140
## Merge the default branch from the default remote when "git pull" is run
141-
&& sudo git config --system pull.rebase false \
141+
&& git config --system pull.rebase false \
142142
## Install pandoc
143143
&& curl -sLO https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-1-${dpkgArch}.deb \
144144
&& dpkg -i pandoc-${PANDOC_VERSION}-1-${dpkgArch}.deb \

base/3.10.9.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,11 @@ RUN dpkgArch="$(dpkg --print-architecture)" \
141141
&& curl -sL https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf -o /usr/share/fonts/truetype/meslo/MesloLGS\ NF\ Bold\ Italic.ttf \
142142
&& fc-cache -fv \
143143
## Set default branch name to main
144-
&& sudo git config --system init.defaultBranch main \
144+
&& git config --system init.defaultBranch main \
145145
## Store passwords for one hour in memory
146146
&& git config --system credential.helper "cache --timeout=3600" \
147147
## Merge the default branch from the default remote when "git pull" is run
148-
&& sudo git config --system pull.rebase false \
148+
&& git config --system pull.rebase false \
149149
## Install pandoc
150150
&& curl -sLO https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-1-${dpkgArch}.deb \
151151
&& dpkg -i pandoc-${PANDOC_VERSION}-1-${dpkgArch}.deb \

base/3.11.0.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,11 @@ RUN dpkgArch="$(dpkg --print-architecture)" \
141141
&& curl -sL https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf -o /usr/share/fonts/truetype/meslo/MesloLGS\ NF\ Bold\ Italic.ttf \
142142
&& fc-cache -fv \
143143
## Set default branch name to main
144-
&& sudo git config --system init.defaultBranch main \
144+
&& git config --system init.defaultBranch main \
145145
## Store passwords for one hour in memory
146146
&& git config --system credential.helper "cache --timeout=3600" \
147147
## Merge the default branch from the default remote when "git pull" is run
148-
&& sudo git config --system pull.rebase false \
148+
&& git config --system pull.rebase false \
149149
## Install pandoc
150150
&& curl -sLO https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-1-${dpkgArch}.deb \
151151
&& dpkg -i pandoc-${PANDOC_VERSION}-1-${dpkgArch}.deb \

base/3.11.1.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,11 @@ RUN dpkgArch="$(dpkg --print-architecture)" \
148148
&& curl -sL https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf -o /usr/share/fonts/truetype/meslo/MesloLGS\ NF\ Bold\ Italic.ttf \
149149
&& fc-cache -fv \
150150
## Set default branch name to main
151-
&& sudo git config --system init.defaultBranch main \
151+
&& git config --system init.defaultBranch main \
152152
## Store passwords for one hour in memory
153153
&& git config --system credential.helper "cache --timeout=3600" \
154154
## Merge the default branch from the default remote when "git pull" is run
155-
&& sudo git config --system pull.rebase false \
155+
&& git config --system pull.rebase false \
156156
## Install pandoc
157157
&& curl -sLO https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-1-${dpkgArch}.deb \
158158
&& dpkg -i pandoc-${PANDOC_VERSION}-1-${dpkgArch}.deb \

0 commit comments

Comments
 (0)