Skip to content

Commit 9977f83

Browse files
committed
wget-to-curl
1 parent 6c93aa0 commit 9977f83

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

docker/Dockerfile

+15-15
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ RUN apt-get install -qq libfreetype6-dev libfontconfig1-dev libxcb-xfixes0-dev l
171171
cargo clean
172172

173173
# Install arc
174-
RUN wget -qnv -O /usr/local/bin/arc https://github.com/mholt/archiver/releases/download/v3.5.0/arc_3.5.0_linux_amd64 && \
174+
RUN curl -fsSL -o /usr/local/bin/arc https://github.com/mholt/archiver/releases/download/v3.5.0/arc_3.5.0_linux_amd64 && \
175175
chmod +x /usr/local/bin/arc
176176

177177
# Install aws cli
@@ -185,17 +185,17 @@ RUN curl -fsSL https://github.com/imsnif/bandwhich/releases/download/0.20.0/band
185185
tar -C /usr/local/bin -xzf - bandwhich
186186

187187
# Install beekeeper studio
188-
RUN wget -qnv -O beekeeper-studio.deb https://github.com/beekeeper-studio/beekeeper-studio/releases/download/v3.7.10/beekeeper-studio_3.7.10_amd64.deb && \
188+
RUN curl -fsSL -o beekeeper-studio.deb https://github.com/beekeeper-studio/beekeeper-studio/releases/download/v3.7.10/beekeeper-studio_3.7.10_amd64.deb && \
189189
dpkg -i beekeeper-studio.deb && \
190190
rm beekeeper-studio.deb
191191

192192
# Install bottom
193-
RUN wget -qnv -O bottom.deb https://github.com/ClementTsang/bottom/releases/download/0.10.2/bottom_0.10.2-1_amd64.deb && \
193+
RUN curl -fsSL -o bottom.deb https://github.com/ClementTsang/bottom/releases/download/0.10.2/bottom_0.10.2-1_amd64.deb && \
194194
dpkg -i bottom.deb && \
195195
rm bottom.deb
196196

197197
# Install cursor
198-
RUN wget -qnv -O cursor.appimage https://downloader.cursor.sh/linux/appImage/x64 && \
198+
RUN curl -fsSL -o cursor.appimage https://downloader.cursor.sh/linux/appImage/x64 && \
199199
chmod +x cursor.appimage && \
200200
./cursor.appimage --appimage-extract && \
201201
mv squashfs-root /opt/cursor && \
@@ -205,12 +205,12 @@ RUN wget -qnv -O cursor.appimage https://downloader.cursor.sh/linux/appImage/x64
205205
rm cursor.appimage
206206

207207
# Install discord
208-
RUN wget -qnv -O discord.deb 'https://discordapp.com/api/download?platform=linux&format=deb' && \
208+
RUN curl -fsSL -o discord.deb 'https://discordapp.com/api/download?platform=linux&format=deb' && \
209209
dpkg -i discord.deb || apt-get install -qq --fix-broken && \
210210
rm discord.deb
211211

212212
# Install dive docker image explorer
213-
RUN wget -qnv -O dive.deb https://github.com/wagoodman/dive/releases/download/v0.9.2/dive_0.9.2_linux_amd64.deb && \
213+
RUN curl -fsSL -o dive.deb https://github.com/wagoodman/dive/releases/download/v0.9.2/dive_0.9.2_linux_amd64.deb && \
214214
dpkg -i dive.deb && \
215215
rm dive.deb
216216

@@ -346,7 +346,7 @@ RUN git clone --depth 1 https://github.com/LazyVim/starter $HOME/.config/nvim &&
346346
rm lazygit lazygit.tar.gz
347347

348348
# Install nerd fonts
349-
RUN wget -qnv https://github.com/ryanoasis/nerd-fonts/releases/download/v3.0.2/DejaVuSansMono.zip && \
349+
RUN curl -fsSL -o DejaVuSansMono.zip https://github.com/ryanoasis/nerd-fonts/releases/download/v3.0.2/DejaVuSansMono.zip && \
350350
unzip -p DejaVuSansMono.zip DejaVuSansMNerdFont-Regular.ttf > /usr/share/fonts/truetype/dejavu/DejaVuSansMNerdFont-Regular.ttf && \
351351
rm DejaVuSansMono.zip
352352

@@ -367,7 +367,7 @@ RUN git clone --depth 1 https://github.com/cloud-computer/noVNC.git /opt/noVNC &
367367
# Install nvidia driver
368368
# RUN apt-get update -qq && \
369369
# apt-get install linux-headers-$(uname -r) && \
370-
# wget -qnv -O nvidia-driver.run https://us.download.nvidia.com/XFree86/Linux-x86_64/565.77/NVIDIA-Linux-x86_64-565.77.run && \
370+
# curl -fsSL -o nvidia-driver.run https://us.download.nvidia.com/XFree86/Linux-x86_64/565.77/NVIDIA-Linux-x86_64-565.77.run && \
371371
# chmod +x nvidia-driver.run && \
372372
# ./nvidia-driver.run --allow-installation-with-running-driver --silent && \
373373
# rm nviia-driver.run
@@ -385,7 +385,7 @@ RUN mkdir /opt/nvm && \
385385
nvm install 20
386386

387387
# Install obsidian
388-
RUN wget -qnv -O obsidian.deb https://github.com/obsidianmd/obsidian-releases/releases/download/v1.7.7/obsidian_1.7.7_amd64.deb && \
388+
RUN curl -fsSL -o obsidian.deb https://github.com/obsidianmd/obsidian-releases/releases/download/v1.7.7/obsidian_1.7.7_amd64.deb && \
389389
dpkg -i obsidian.deb && \
390390
rm obsidian.deb
391391

@@ -437,7 +437,7 @@ RUN pipx install pywal
437437
RUN pipx install shell-gpt
438438

439439
# Install slack
440-
RUN wget -qnv -O slack.deb https://downloads.slack-edge.com/desktop-releases/linux/x64/4.38.125/slack-desktop-4.38.125-amd64.deb && \
440+
RUN curl -fsSL -o slack.deb https://downloads.slack-edge.com/desktop-releases/linux/x64/4.38.125/slack-desktop-4.38.125-amd64.deb && \
441441
dpkg -i slack.deb && \
442442
rm slack.deb
443443

@@ -450,7 +450,7 @@ RUN add-apt-repository ppa:atareao/telegram && \
450450
apt-get install -qq telegram
451451

452452
# Install terraform
453-
RUN wget -qnv -O terraform.zip https://releases.hashicorp.com/terraform/1.1.0/terraform_1.1.0_linux_amd64.zip && \
453+
RUN curl -fsSL -o terraform.zip https://releases.hashicorp.com/terraform/1.1.0/terraform_1.1.0_linux_amd64.zip && \
454454
unzip terraform.zip && \
455455
install terraform /usr/local/bin && \
456456
rm terraform terraform.zip
@@ -461,14 +461,14 @@ RUN echo 'deb [trusted=yes arch=amd64] https://dl.thorium.rocks/debian/ stable m
461461
apt-get install -qq thorium-browser
462462

463463
# Install timeago
464-
RUN wget -qnv -O /usr/local/bin/timeago https://raw.githubusercontent.com/sabrehagen/timeago/master/timeago && \
464+
RUN curl -fsSL -o /usr/local/bin/timeago https://raw.githubusercontent.com/sabrehagen/timeago/master/timeago && \
465465
chmod +x /usr/local/bin/timeago
466466

467467
# Install tldr
468468
RUN pipx install tldr
469469

470470
# Install tmpmail
471-
RUN wget -qnv -O /usr/local/bin/tmpmail https://raw.githubusercontent.com/sdushantha/tmpmail/master/tmpmail && \
471+
RUN curl -fsSL -o /usr/local/bin/tmpmail https://raw.githubusercontent.com/sdushantha/tmpmail/master/tmpmail && \
472472
chmod +x /usr/local/bin/tmpmail
473473

474474
# Install tracexec
@@ -479,11 +479,11 @@ RUN curl -fsSL https://github.com/kxxt/tracexec/releases/download/v0.5.2/tracexe
479479
RUN cargo install trippy --locked
480480

481481
# Install vs code, vs live share dependencies, shfmt extension dependency, and vs-wal
482-
RUN wget -qnv -O code.deb https://go.microsoft.com/fwlink/?LinkID=760868 && \
482+
RUN curl -fsSL -o code.deb https://go.microsoft.com/fwlink/?LinkID=760868 && \
483483
apt-get install -qq ./code.deb && \
484484
rm code.deb && \
485485
apt-get install -qq libicu[0-9][0-9] libkrb5-3 zlib1g libsecret-1-0 desktop-file-utils x11-utils && \
486-
wget -qnv -O /usr/local/bin/shfmt https://github.com/mvdan/sh/releases/download/v3.2.0/shfmt_v3.2.0_linux_amd64 && \
486+
curl -fsSL -o /usr/local/bin/shfmt https://github.com/mvdan/sh/releases/download/v3.2.0/shfmt_v3.2.0_linux_amd64 && \
487487
chmod +x /usr/local/bin/shfmt
488488

489489
# Install warnai

0 commit comments

Comments
 (0)